home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / opt0.4.lcm / lib / lynx.cfg < prev   
Encoding:
Text File  |  2004-02-26  |  132.3 KB  |  3,216 lines

  1. # lynx.cfg file.
  2. # The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
  3. #                                     or Lynx_Dir:lynx.cfg (VMS)
  4. #
  5. #
  6. # Definition pairs are of the form  VARIABLE:DEFINITION
  7. # NO spaces are allowed between the pair items.
  8. #
  9. #  If you do not have write access to /usr/local/lib you may change
  10. #  the default location of this file in the userdefs.h file and recompile,
  11. #  or specify its location on the command line with the "-cfg"
  12. #  command line option.
  13. #
  14. # Items may be commented out by putting a '#' as the FIRST char of the line
  15. # (Any line beginning with punctuation is ignored).  Leading blanks on each
  16. # line are ignored; trailing blanks may be significant depending on the option.
  17.  
  18. # An HTML'ized description of all settings (based on comments in this file,
  19. # with alphabetical table of settings and with table of settings by category)
  20. # is available at http://www.hippo.ru/~hvv/lynxcfg_toc.html
  21. #
  22. ### The conversion is done via the scripts/cfg2html.pl script.
  23. ### Several directives beginning with '.' are used for this purpose.
  24.  
  25.  
  26. .h1 Auxiliary Facilities
  27. # These settings control the auxiliary navigating facilities of lynx, e.g.,
  28. # jumpfiles, bookmarks, default URLs.
  29.  
  30.  
  31. .h2 INCLUDE
  32. # Starting with Lynx 2.8.1, the lynx.cfg file has a crude "include"
  33. # facility.  This means that you can take advantage of the global lynx.cfg
  34. # while also supplying your own tweaks.
  35. #
  36. # You can use a command-line argument (-cfg /where/is/lynx.cfg) or an
  37. # environment variable (LYNX_CFG=/where/is/lynx.cfg).
  38. # For instance, put in your .profile or .login:
  39. #
  40. #   LYNX_CFG=~/lynx.cfg; export LYNX_CFG   # in .profile for sh/ksh/bash/etc.
  41. #   setenv LYNX_CFG ~/lynx.cfg             # in .login for [t]csh
  42. #
  43. # Then in ~/lynx.cfg:
  44. #
  45. #   INCLUDE:/usr/local/lib/lynx.cfg
  46. #           ^^^^^^^^^^^^^^^^^^^^^^^ or whatever is appropriate on your system
  47. # and now your own tweaks.
  48. #
  49. # Starting with Lynx 2.8.2, the INCLUDE facility is yet more powerful.  You can
  50. # suppress all but specific settings that will be read from included files.
  51. # This allows sysadmins to provide users the ability to customize lynx with
  52. # options that normally do not affect security, such as COLOR, VIEWER, KEYMAP.
  53. #
  54. # The syntax is
  55. #
  56. #   INCLUDE:filename for <space-separated-list-of-allowed-settings>
  57. #
  58. # sample:
  59. .ex
  60. #INCLUDE:~/lynx.cfg for COLOR VIEWER KEYMAP
  61. # only one space character should surround the word 'for'.  On Unix systems ':'
  62. # is also accepted as separator.  In that case, the example can be written as
  63. .ex
  64. #INCLUDE:~/lynx.cfg:COLOR VIEWER KEYMAP
  65. # In the example, only the settings COLOR, VIEWER and KEYMAP are accepted by
  66. # lynx.  Other settings are ignored.  Note:  INCLUDE is also treated as a
  67. # setting, so to allow an included file to include other files, put INCLUDE in
  68. # the list of allowed settings.
  69. #
  70. # If you allow an included file to include other files, and if a list of
  71. # allowed settings is specified for that file with the INCLUDE command, nested
  72. # files are only allowed to include the list of settings that is the set AND of
  73. # settings allowed for the included file and settings allowed by nested INCLUDE
  74. # commands.  In short, there is no security hole introduced by including a
  75. # user-defined configuration file if the original list of allowed settings is
  76. # secure.
  77.  
  78.  
  79. .h2 STARTFILE
  80. # STARTFILE is the default starting URL if none is specified
  81. #   on the command line or via a WWW_HOME environment variable;
  82. #   Lynx will refuse to start without a starting URL of some kind.
  83. # STARTFILE can be remote, e.g. http://www.w3.org/default.html ,
  84. #                or local, e.g. file://localhost/PATH_TO/FILENAME ,
  85. #           where PATH_TO is replaced with the complete path to FILENAME
  86. #           using Unix shell syntax and including the device on VMS.
  87. #
  88. # Normally we expect you will connect to a remote site, e.g., the Lynx starting
  89. # site:
  90. STARTFILE:http://lynx.browser.org/
  91. #
  92. # As an alternative, you may want to use a local URL.  A good choice for this is
  93. # the user's home directory:
  94. .ex
  95. #STARTFILE:file://localhost/~/
  96. #
  97. # Your choice of STARTFILE should reflect your site's needs, and be a URL that
  98. # you can connect to reliably.  Otherwise users will become confused and think
  99. # that they cannot run Lynx.
  100.  
  101.  
  102. .h2 HELPFILE
  103. # HELPFILE must be defined as a URL and must have a
  104. # complete path if local:
  105. # file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  106. #   Replace PATH_TO with the path to the lynx_help subdirectory
  107. #   for this distribution (use SHELL syntax including the device
  108. #   on VMS systems).
  109. # The default HELPFILE is:
  110. # http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html
  111. #   This should be changed to the local path.
  112. #
  113. HELPFILE:http://www.trill-home.com/lynx/lynx_help/lynx_help_main.html
  114. .ex
  115. #HELPFILE:file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  116.  
  117.  
  118. .h2 DEFAULT_INDEX_FILE
  119. # DEFAULT_INDEX_FILE is the default file retrieved when the
  120. # user presses the 'I' key when viewing any document.
  121. # An index to your CWIS can be placed here or a document containing
  122. # pointers to lots of interesting places on the web.
  123. #
  124. DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  125.  
  126.  
  127. .h1 Interaction
  128.  
  129. .h2 GOTOBUFFER
  130. # Set GOTOBUFFER to TRUE if you want to have the previous goto URL,
  131. # if any, offered for reuse or editing when using the 'g'oto command.
  132. # The default is defined in userdefs.h.  If left FALSE, the circular
  133. # buffer of previously entered goto URLs can still be invoked via the
  134. # Up-Arrow or Down-Arrow keys after entering the 'g'oto command.
  135. #
  136. #GOTOBUFFER:FALSE
  137.  
  138.  
  139. .h2 JUMP_PROMPT
  140. # JUMP_PROMPT is the default statusline prompt for selecting a jumps file
  141. # shortcut.  (see below).
  142. # You can change the prompt here from that defined in userdefs.h.  Any
  143. # trailing white space will be trimmed, and a single space is added by Lynx
  144. # following the last non-white character.  You must set the default prompt
  145. # before setting the default jumps file (below).  If a default jumps file
  146. # was set via userdefs.h, and you change the prompt here, you must set the
  147. # default jumps file again (below) for the change to be implemented.
  148. #
  149. #JUMP_PROMPT:Jump to (use '?' for list):
  150.  
  151.  
  152. .h1 Auxiliary Facilities
  153.  
  154. .h2 JUMPFILE
  155. # JUMPFILE is the local file checked for short-cut names for URLs
  156. # when the user presses the 'j' (JUMP) key.  The user will be prompted
  157. # to enter a short-cut name for an URL, which Lynx will then follow
  158. # in a similar manner to 'g'oto; alternatively, s/he can enter '?'
  159. # to view the full JUMPFILE list of short-cuts with associated URLs.
  160. # There is an example jumps file in the samples subdirectory.
  161. # If not defined here or in userdefs.h, the JUMP command will invoke
  162. # the NO_JUMPFILE statusline message (see  LYMessages_en.h ).
  163. #
  164. # To allow '?' to work, include in the JUMPFILE
  165. # a short-cut to the JUMPFILE itself, e.g.
  166. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  167. #
  168. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  169. #
  170. # Alternate jumps files can be defined and mapped to keys here.  If the
  171. # keys have already been mapped, then those mappings will be replaced,
  172. # but you should leave at least one key mapped to the default jumps
  173. # file.  You optionally may include a statusline prompt string for the
  174. # mapping.  You must map upper and lowercase keys separately (beware of
  175. # mappings to keys which the user can further remap via the 'o'ptions
  176. # menu).  The format is:
  177. #
  178. #    JUMPFILE:path:key[:prompt]
  179. #
  180. # where path should begin with a '/' (i.e., not include file://localhost).
  181. # Any white space following a prompt string will be trimmed, and a single
  182. # space will be added by Lynx.
  183. #
  184. # In the following line, include the actual full local path to JUMPFILE,
  185. # but do not include 'file://localhost' in the line.
  186. #JUMPFILE:/FULL_LOCAL_PATH/jumps.html
  187. .ex
  188. #JUMPFILE:/Lynx_Dir/ips.html:i:IP or Interest group (? for list):
  189.  
  190.  
  191. .h2 JUMPBUFFER
  192. # Set JUMPBUFFER to TRUE if you want to have the previous jump target,
  193. # if any, offered for reuse or editing when using the 'J'ump command.
  194. # The default is defined in userdefs.h.  If left FALSE, the circular
  195. # buffer of previously entered targets (shortcuts) can still be invoked
  196. # via the Up-Arrow or Down-Arrow keys after entering the 'J'ump command.
  197. # If multiple jumps files are installed, the recalls of shortcuts will
  198. # be specific to each file.  If Lynx was built with PERMIT_GOTO_FROM_JUMP
  199. # defined, any random URLs used instead of shortcuts will be stored in the
  200. # goto URL buffer, not in the shortcuts buffer(s), and the single character
  201. # ':' can be used as a target to invoke the goto URL buffer (as if 'g'oto
  202. # followed by Up-Arrow had been entered).
  203. #
  204. #JUMPBUFFER:FALSE
  205.  
  206.  
  207. .h1 Internal Behavior
  208.  
  209. .h2 SAVE_SPACE
  210. # If SAVE_SPACE is defined, it will be used as a path prefix for the
  211. # suggested filename in "Save to Disk" operations from the 'p'rint or
  212. # 'd'ownload menus.  On VMS, you can use either VMS (e.g., "SYS$LOGIN:")
  213. # or Unix syntax (including '~' for the HOME directory).  On Unix, you
  214. # must use Unix syntax.  If the symbol is not defined, or is zero-length
  215. # (""), no prefix will be used, and only a filename for saving in the
  216. # current default directory will be suggested.
  217. # This definition will be overridden if a "LYNX_SAVE_SPACE" environment
  218. # variable has been set on Unix, or logical has been defined on VMS.
  219. #
  220. #SAVE_SPACE:~/foo/
  221.  
  222.  
  223. .h2 REUSE_TEMPFILES
  224. # Lynx uses temporary files for (among other purposes) the content of
  225. # various user interface pages.  REUSE_TEMPFILES changes the behavior
  226. # for some of these temp files, among them pages shown for HISTORY,
  227. # VLINKS, OPTIONS, INFO, PRINT, DOWNLOAD commands.
  228. # If set to TRUE, the same file can be used multiple times for the same
  229. # purpose.  If set to FALSE, a new filename is generated each time before
  230. # rewriting such a page.  With TRUE, repeated invocation of these commands
  231. # is less likely to push previous documents out of the cache of rendered
  232. # texts (see also DEFAULT_CACHE_SIZE).  This is especially useful with
  233. # intermittent (dialup) network connections, when it is desirable to
  234. # continue browsing through the cached documents after disconnecting.
  235. # With the default setting of FALSE, there can be more than one incarnation
  236. # of e.g. the VLINKS page cached in memory (but still only the most recently
  237. # generated one is kept as a file), resulting in sometimes less surprising
  238. # behaviour when returning to such a page via HISTORY or PREV_DOC functions
  239. # (most users will not encounter and notice this difference).
  240. #
  241. #REUSE_TEMPFILES:FALSE
  242.  
  243.  
  244. .h2 LYNX_HOST_NAME
  245. # If LYNX_HOST_NAME is defined here or in userdefs.h, it will be
  246. # treated as an alias for the local host name in checks for URLs on
  247. # the local host (e.g., when the -localhost switch is set), and this
  248. # host name, "localhost", and HTHostName (the fully qualified domain
  249. # name of the system on which Lynx is running) will all be passed as
  250. # local.  A different definition here will override that in userdefs.h.
  251. #
  252. #LYNX_HOST_NAME:www.cc.ukans.edu
  253.  
  254.  
  255. .h2 LOCALHOST_ALIAS
  256. # localhost aliases
  257. # Any LOCALHOST_ALIAS definitions also will be accepted as local when
  258. # the -localhost switch is set.  These need not actually be local, i.e.,
  259. # in contrast to LYNX_HOST_NAME, you can define them to trusted hosts at
  260. # other Internet sites.
  261. #
  262. .ex 2
  263. #LOCALHOST_ALIAS:gopher.server.domain
  264. #LOCALHOST_ALIAS:news.server.domain
  265.  
  266.  
  267. .h2 LOCAL_DOMAIN
  268. # LOCAL_DOMAIN is used for a tail match with the ut_host element of
  269. # the utmp or utmpx structure on systems with utmp capabilities, to
  270. # determine if a user is local to your campus or organization when
  271. # handling -restrictions=inside_foo or outside_foo settings for ftp,
  272. # news, telnet/tn3270 and rlogin URLs.  An "inside" user is assumed
  273. # if your system does not have utmp capabilities.  CHANGE THIS here
  274. # if it was not changed in userdefs.h at compilation time.
  275. #
  276. #LOCAL_DOMAIN:ukans.edu
  277.  
  278.  
  279. .h1 Character sets
  280.  
  281. .h2 CHARACTER_SET
  282. # CHARACTER_SET defines the display character set, i.e., assumed to be
  283. # installed on the user's terminal.  It determines which characters or strings
  284. # will be used to represent 8-bit character entities within HTML.  New
  285. # character sets may be defined as explained in the README files of the
  286. # src/chrtrans directory in the Lynx source code distribution.  For Asian (CJK)
  287. # character sets, it also determines how Kanji code will be handled.  The
  288. # default is defined in userdefs.h and can be changed here or via the
  289. # 'o'ptions menu.  The 'o'ptions menu setting will be stored in the user's RC
  290. # file whenever those settings are saved, and thereafter will be used as the
  291. # default.  For Lynx a "character set" has two names:  a MIME name (for
  292. # recognizing properly labeled charset parameters in HTTP headers etc.), and a
  293. # human-readable string for the 'O'ptions Menu (so you may find info about
  294. # language or group of languages besides MIME name).  Not all 'human-readable'
  295. # names correspond to exactly one valid MIME charset (example is "Chinese");
  296. # in that case an appropriate valid (and more specific) MIME name should be
  297. # used where required.  Well-known synonyms are also processed in the code.
  298. #
  299. # Raw (CJK) mode
  300. #
  301. # Lynx normally translates characters from a document's charset to display
  302. # charset, using ASSUME_CHARSET value (see below) if the document's charset
  303. # is not specified explicitly.  Raw (CJK) mode is OFF for this case.
  304. # When the document charset is specified explicitly, that charset
  305. # overrides any assumption like ASSUME_CHARSET or raw (CJK) mode.
  306. #
  307. # For the Asian (CJK) display character sets, the corresponding charset is
  308. # assumed in documents, i.e., raw (CJK) mode is ON by default.  In raw CJK
  309. # mode, 8-bit characters are not reverse translated in relation to the entity
  310. # conversion arrays, i.e., they are assumed to be appropriate for the display
  311. # character set.  The mode should be toggled OFF when an Asian (CJK) display
  312. # character set is selected but the document is not CJK and its charset not
  313. # specified explicitly.
  314. #
  315. # Raw (CJK) mode may be toggled by user via '@' (LYK_RAW_TOGGLE) key,
  316. # the -raw command line switch or from the 'o'ptions menu.
  317. #
  318. # Raw (CJK) mode effectively changes the charset assumption about unlabeled
  319. # documents.  You can toggle raw mode ON if you believe the document has a
  320. # charset which does correspond to your Display Character Set.  On the other
  321. # hand, if you set ASSUME_CHARSET the same as Display Character Set you get raw
  322. # mode ON by default (but you get assume_charset=iso-8859-1 if you try raw mode
  323. # OFF after it).
  324. #
  325. # Note that "raw" does not mean that every byte will be passed to the screen.
  326. # HTML character entities may get expanded and translated, inappropriate
  327. # control characters filtered out, etc.  There is a "Transparent" pseudo
  328. # character set for more "rawness".
  329. #
  330. # Since Lynx now supports a wide range of platforms it may be useful to note
  331. # the cpXXX codepages used by IBM PC compatible computers, and windows-xxxx
  332. # used by native MS-Windows apps.  We also note that cpXXX pages rarely are
  333. # found on Internet, but are mostly for local needs on DOS.
  334. #
  335. # Recognized character sets include:
  336. #
  337. .nf
  338. #    string for 'O'ptions Menu          MIME name
  339. #    ===========================        =========
  340. #    7 bit approximations (US-ASCII)    us-ascii
  341. #    Western (ISO-8859-1)               iso-8859-1
  342. #    Western (ISO-8859-15)              iso-8859-15
  343. #    Western (cp850)                    cp850
  344. #    Western (windows-1252)             windows-1252
  345. #    IBM PC US codepage (cp437)         cp437
  346. #    DEC Multinational                  dec-mcs
  347. #    Macintosh (8 bit)                  macintosh
  348. #    NeXT character set                 next
  349. #    HP Roman8                          hp-roman8
  350. #    Chinese                            euc-cn
  351. #    Japanese (EUC-JP)                  euc-jp
  352. #    Japanese (Shift_JIS)               shift_jis
  353. #    Korean                             euc-kr
  354. #    Taipei (Big5)                      big5
  355. #    Vietnamese (VISCII)                viscii
  356. #    Eastern European (ISO-8859-2)      iso-8859-2
  357. #    Eastern European (cp852)           cp852
  358. #    Eastern European (windows-1250)    windows-1250
  359. #    Latin 3 (ISO-8859-3)               iso-8859-3
  360. #    Latin 4 (ISO-8859-4)               iso-8859-4
  361. #    Baltic Rim (cp775)                 cp775
  362. #    Baltic Rim (windows-1257)          windows-1257
  363. #    Cyrillic (ISO-8859-5)              iso-8859-5
  364. #    Cyrillic (cp866)                   cp866
  365. #    Cyrillic (windows-1251)            windows-1251
  366. #    Cyrillic (KOI8-R)                  koi8-r
  367. #    Arabic (ISO-8859-6)                iso-8859-6
  368. #    Arabic (cp864)                     cp864
  369. #    Arabic (windows-1256)              windows-1256
  370. #    Greek (ISO-8859-7)                 iso-8859-7
  371. #    Greek (cp737)                      cp737
  372. #    Greek2 (cp869)                     cp869
  373. #    Greek (windows-1253)               windows-1253
  374. #    Hebrew (ISO-8859-8)                iso-8859-8
  375. #    Hebrew (cp862)                     cp862
  376. #    Hebrew (windows-1255)              windows-1255
  377. #    Turkish (ISO-8859-9)               iso-8859-9
  378. #    ISO-8859-10                        iso-8859-10
  379. #    Ukrainian Cyrillic (cp866u)        cp866u
  380. #    Ukrainian Cyrillic (KOI8-U)        koi8-u
  381. #    UNICODE (UTF-8)                    utf-8
  382. #    RFC 1345 w/o Intro                 mnemonic+ascii+0
  383. #    RFC 1345 Mnemonic                  mnemonic
  384. #    Transparent                        x-transparent
  385. .fi
  386. #
  387. # The value should be the MIME name of a character set recognized by
  388. # Lynx (case insensitive).
  389. # Find RFC 1345 at http://www.ics.uci.edu/pub/ietf/uri/rfc1345.txt .
  390. #
  391. #CHARACTER_SET:iso-8859-1
  392.  
  393.  
  394. .h2 ASSUME_CHARSET
  395. # ASSUME_CHARSET changes the handling of documents which do not
  396. # explicitly specify a charset.  Normally Lynx assumes that 8-bit
  397. # characters in those documents are encoded according to iso-8859-1
  398. # (the official default for the HTTP protocol).  When ASSUME_CHARSET
  399. # is defined here or by an -assume_charset command line flag is in effect,
  400. # Lynx will treat documents as if they were encoded accordingly.
  401. # See above on how this interacts with "raw mode" and the Display
  402. # Character Set.
  403. # ASSUME_CHARSET can also be changed via the 'o'ptions menu but will
  404. # not be saved as permanent value in user's .lynxrc file to avoid more chaos.
  405. #
  406. #ASSUME_CHARSET:iso-8859-1
  407.  
  408.  
  409. .h2 ASSUMED_DOC_CHARSET_CHOICE
  410. .h2 DISPLAY_CHARSET_CHOICE
  411. # It is possible to reduce the number of charset choices in the 'O'ptions menu
  412. # for "display charset" and "assumed document charset" fields via
  413. # DISPLAY_CHARSET_CHOICE and ASSUMED_DOC_CHARSET_CHOICE settings correspondingly.
  414. # Each of these settings can be used several times to define the set of possible
  415. # choices for corresponding field. The syntax for the values is
  416. #
  417. #    string | prefix* | *
  418. #
  419. # where
  420. #
  421. #    'string' is either the MIME name of charset or it's full name (listed
  422. #        either in the left or in the right column of table of
  423. #        recognized charsets), case-insensitive - e.g.  'Koi8-R' or
  424. #        'Cyrillic (KOI8-R)' (both without quotes),
  425. #
  426. #    'prefix' is any string, and such value will select all charsets having
  427. #        the name with prefix matching given (case insensitive), i.e.,
  428. #        for the charsets listed in the table of recognized charsets,
  429. #
  430. .ex
  431. # ASSUMED_DOC_CHARSET_CHOICE:cyrillic*
  432. #        will be equal to specifying
  433. .ex 4
  434. # ASSUMED_DOC_CHARSET_CHOICE:cp866
  435. # ASSUMED_DOC_CHARSET_CHOICE:windows-1251
  436. # ASSUMED_DOC_CHARSET_CHOICE:koi8-r
  437. # ASSUMED_DOC_CHARSET_CHOICE:iso-8859-5
  438. #        or lines with full names of charsets.
  439. #
  440. #    literal string '*' (without quotes) will enable all charset choices
  441. #        in corresponding field.  This is useful for overriding site
  442. #        defaults in private pieces of lynx.cfg included via INCLUDE
  443. #        directive.
  444. #
  445. # Default values for both settings are '*', but any occurrence of settings
  446. # with values that denote any charsets will make only listed choices available
  447. # for corresponding field.
  448. #ASSUMED_DOC_CHARSET_CHOICE:*
  449. #DISPLAY_CHARSET_CHOICE:*
  450.  
  451.  
  452. .h2 ASSUME_LOCAL_CHARSET
  453. # ASSUME_LOCAL_CHARSET is like ASSUME_CHARSET but only applies to local
  454. # files.  If no setting is given here or by an -assume_local_charset
  455. # command line option, the value for ASSUME_CHARSET or -assume_charset
  456. # is used.  It works for both text/plain and text/html files.
  457. # This option will ignore "raw mode" toggling when local files are viewed
  458. # (it is "stronger" than "assume_charset" or the effective change
  459. # of the charset assumption caused by changing "raw mode"),
  460. # so only use when necessary.
  461. #
  462. #ASSUME_LOCAL_CHARSET:iso-8859-1
  463.  
  464.  
  465. .h2 PREPEND_CHARSET_TO_SOURCE
  466. # PREPEND_CHARSET_TO_SOURCE:TRUE tells Lynx to prepend a META CHARSET line
  467. # to text/html source files when they are retrieved for 'd'ownloading
  468. # or passed to 'p'rint functions, so HTTP headers will not be lost.
  469. # This is necessary for resolving charset for local html files,
  470. # while the assume_local_charset is just an assumption.
  471. # For the 'd'ownload option, a META CHARSET will be added only if the HTTP
  472. # charset is present.  The compilation default is TRUE.
  473. # It is generally desirable to have charset information for every local
  474. # html file, but META CHARSET string potentially could cause
  475. # compatibility problems with other browsers, see also PREPEND_BASE_TO_SOURCE.
  476. # Note that the prepending is not done for -source dumps.
  477. #
  478. #PREPEND_CHARSET_TO_SOURCE:TRUE
  479.  
  480.  
  481. .h2 NCR_IN_BOOKMARKS
  482. # NCR_IN_BOOKMARKS:TRUE allows you to save 8-bit characters in bookmark titles
  483. # in the unicode format (NCR).  This may be useful if you need to switch
  484. # display charsets frequently.  This is the case when you use Lynx on different
  485. # platforms, e.g., on UNIX and from a remote PC, and want to keep the bookmarks
  486. # file persistent.
  487. # Another aspect is compatibility:  NCR is part of I18N and HTML4.0
  488. # specifications supported starting with Lynx 2.7.2, Netscape 4.0 and MSIE 4.0.
  489. # Older browser versions will fail so keep NCR_IN_BOOKMARKS:FALSE if you
  490. # plan to use them.
  491. #
  492. #NCR_IN_BOOKMARKS:FALSE
  493.  
  494.  
  495. .h2 FORCE_8BIT_TOUPPER
  496. # FORCE_8BIT_TOUPPER overrides locale settings and uses internal 8-bit
  497. # case-conversion mechanism for case-insensitive searches in non-ASCII display
  498. # character sets.  It is FALSE by default and should not be changed unless
  499. # you encounter problems with case-insensitive searches.
  500. #
  501. #FORCE_8BIT_TOUPPER:FALSE
  502.  
  503.  
  504. .h2 OUTGOING_MAIL_CHARSET
  505. # While Lynx supports different platforms and display character sets
  506. # we need to limit the charset in outgoing mail to reduce
  507. # trouble for remote recipients who may not recognize our charset.
  508. # You may try US-ASCII as the safest value (7 bit), any other MIME name,
  509. # or leave this field blank (default) to use the display character set.
  510. # Charset translations currently are implemented for mail "subjects= " only.
  511. #
  512. #OUTGOING_MAIL_CHARSET:
  513.  
  514.  
  515. .h2 ASSUME_UNREC_CHARSET
  516. # If Lynx encounters a charset parameter it doesn't recognize, it will
  517. # replace the value given by ASSUME_UNREC_CHARSET (or a corresponding
  518. # -assume_unrec_charset command line option) for it.  This can be used
  519. # to deal with charsets unknown to Lynx, if they are "sufficiently
  520. # similar" to one that Lynx does know about, by forcing the same
  521. # treatment.  There is no default, and you probably should leave this
  522. # undefined unless necessary.
  523. #
  524. #ASSUME_UNREC_CHARSET:iso-8859-1
  525.  
  526. .h2 PREFERRED_LANGUAGE
  527. # PREFERRED_LANGUAGE is the language in MIME notation (e.g., "en",
  528. # "fr") which will be indicated by Lynx in its Accept-Language headers
  529. # as the preferred language.  If available, the document will be
  530. # transmitted in that language.  Users can override this setting via
  531. # the 'o'ptions menu and save that preference in their RC file.
  532. # This may be a comma-separated list of languages in decreasing preference.
  533. #
  534. #PREFERRED_LANGUAGE:en
  535.  
  536.  
  537. .h2 PREFERRED_CHARSET
  538. # PREFERRED_CHARSET specifies the character set in MIME notation (e.g.,
  539. # "ISO-8859-2", "ISO-8859-5") which Lynx will indicate you prefer in
  540. # requests to http servers using an Accept-Charsets header.  Users can
  541. # change it via the 'o'ptions menu and save that preference in their RC file.
  542. # The value should NOT include "ISO-8859-1" or "US-ASCII",
  543. # since those values are always assumed by default.
  544. # If a file in that character set is available, the server will send it.
  545. # If no Accept-Charset header is present, the default is that any
  546. # character set is acceptable.  If an Accept-Charset header is present,
  547. # and if the server cannot send a response which is acceptable
  548. # according to the Accept-Charset header, then the server SHOULD send
  549. # an error response with the 406 (not acceptable) status code, though
  550. # the sending of an unacceptable response is also allowed.  See RFC 2068
  551. # (http://www.ics.uci.edu/pub/ietf/uri/rfc2068.txt).
  552. #
  553. #PREFERRED_CHARSET:
  554.  
  555.  
  556. .h2 CHARSETS_DIRECTORY
  557. # CHARSETS_DIRECTORY specifies the directory with the fonts (glyph data)
  558. # used by Lynx to switch the display-font to a font best suited for the
  559. # given document.  The font should be in a format understood by the 
  560. # platforms TTY-display-font-switching API.  Currently supported on OS/2 only.
  561. #
  562. # Lynx expects the glyphs for the charset CHARSET with character cell
  563. # size HHHxWWW to be stored in a file HHHxWWW/CHARSET.fnt inside the directory
  564. # specified by CHARSETS_DIRECTORY.  E.g., the font for koi8-r sized 14x9
  565. # should be in the file 14x9/koi8-r.fnt.
  566. #
  567. #CHARSETS_DIRECTORY:
  568.  
  569.  
  570. .h2 CHARSET_SWITCH_RULES
  571. # CHARSET_SWITCH_RULES hints lynx on how to choose the best display
  572. # font given the document encoding.  This strings is a sequence of
  573. # chunks, each chunk having the following form:
  574. #
  575. # IN_CHARSET1 IN_CHARSET2 ... IN_CHARSET5 :OUT_CHARSET
  576. #
  577. # For readability, one may insert arbitrary additional punctuation (anything
  578. # but : is ignored).  E.g., if lynx is able to switch only to display charsets
  579. # cp866, cp850, cp852, and cp862, then the following setting may be useful
  580. # (split for readability):
  581. #
  582. # CHARSET_SWITCH_RULES: koi8-r ISO-8859-5 windows-1251 cp866u KOI8-U :cp866,
  583. #    iso-8859-1 windows-1252 ISO-8859-15 :cp850,
  584. #    ISO-8859-2 windows-1250 :cp852,
  585. #    ISO-8859-8 windows-1255 :cp862
  586. #
  587. #CHARSET_SWITCH_RULES:
  588.  
  589.  
  590. .h1 Interaction
  591.  
  592. .h2 URL_DOMAIN_PREFIXES
  593. .h2 URL_DOMAIN_SUFFIXES
  594. # URL_DOMAIN_PREFIXES and URL_DOMAIN_SUFFIXES are strings which will be
  595. # prepended (together with a scheme://) and appended to the first element
  596. # of command line or 'g'oto arguments which are not complete URLs and
  597. # cannot be opened as a local file (file://localhost/string).  Both
  598. # can be comma-separated lists.  Each prefix must end with a dot, each
  599. # suffix must begin with a dot, and either may contain other dots (e.g.,
  600. # .com.jp).  The default lists are defined in userdefs.h and can be
  601. # replaced here.  Each prefix will be used with each suffix, in order,
  602. # until a valid Internet host is created, based on a successful DNS
  603. # lookup (e.g., foo will be tested as www.foo.com and then www.foo.edu
  604. # etc.).  The first element can include a :port and/or /path which will
  605. # be restored with the expanded host (e.g., wfbr:8002/dir/lynx will
  606. # become http://www.wfbr.edu:8002/dir/lynx).  The prefixes will not be
  607. # used if the first element ends in a dot (or has a dot before the
  608. # :port or /path), and similarly the suffixes will not be used if the
  609. # the first element begins with a dot (e.g., .nyu.edu will become
  610. # http://www.nyu.edu without testing www.nyu.com).  Lynx will try to
  611. # guess the scheme based on the first field of the expanded host name,
  612. # and use "http://" as the default (e.g., gopher.wfbr.edu or gopher.wfbr.
  613. # will be made gopher://gopher.wfbr.edu).
  614. #
  615. #URL_DOMAIN_PREFIXES:www.
  616. #URL_DOMAIN_SUFFIXES:.com,.edu,.net,.org
  617.  
  618.  
  619. .h2 FORMS_OPTIONS
  620. # Toggle whether the Options Menu is key-based or form-based;
  621. # the key-based version is available only if specified at compile time.
  622. #FORMS_OPTIONS:TRUE
  623.  
  624.  
  625. .h2 PARTIAL
  626. # Display partial pages while downloading
  627. #PARTIAL:TRUE
  628.  
  629.  
  630. .h2 PARTIAL_THRES
  631. # Set the threshold # of lines Lynx must render before it
  632. # redraws the screen in PARTIAL mode.  Anything < 0 implies
  633. # use of the screen size.
  634. #PARTIAL_THRES:-1
  635.  
  636.  
  637. .h2 SHOW_KB_RATE
  638. # While getting large files, Lynx shows the approximate rate of transfer.
  639. # Set this to change the units shown:
  640. #    NONE to disable the display of transfer rate altogether.
  641. #    TRUE or KB for KB/sec.
  642. #    FALSE or BYTES for bytes/sec.
  643. #    KB,ETA to show KB/sec with estimated completion time.
  644. #    BYTES,ETA to show BYTES/sec with estimated completion time.
  645. # Note that the "ETA" values are available if EXP_READPROGRESS was defined.
  646. #SHOW_KB_RATE:TRUE
  647.  
  648.  
  649. .h1 Timeouts
  650.  
  651. .h2 INFOSECS
  652. .h2 MESSAGESECS
  653. .h2 ALERTSECS
  654. # The following three definitions set the number of seconds for
  655. # pauses following statusline messages that would otherwise be
  656. # replaced immediately, and are more important than the unpaused
  657. # progress messages.  Those set by INFOSECS are also basically
  658. # progress messages (e.g., that a prompted input has been canceled)
  659. # and should have the shortest pause.  Those set by MESSAGESECS are
  660. # informational (e.g., that a function is disabled) and should have
  661. # a pause of intermediate duration.  Those set by ALERTSECS typically
  662. # report a serious problem and should be paused long enough to read
  663. # whenever they appear (typically unexpectedly).  The default values
  664. # are defined in userdefs.h, and can be modified here should longer
  665. # pauses be desired for braille-based access to Lynx.
  666. #
  667. # SVr4-curses implementations support time delays in milliseconds,
  668. # hence the value may be given shorter, e.g., 0.5
  669. #
  670. #INFOSECS:1
  671. #MESSAGESECS:2
  672. #ALERTSECS:3
  673.  
  674.  
  675. .h1 Appearance
  676. # These settings control the appearance of Lynx's screen and the way
  677. # Lynx renders some tags.
  678.  
  679. .h2 USE_SELECT_POPUPS
  680. # If USE_SELECT_POPUPS is set FALSE, Lynx will present a vertical list of
  681. # radio buttons for the OPTIONs in SELECT blocks which lack the MULTIPLE
  682. # attribute, instead of using a popup menu.  Note that if the MULTIPLE
  683. # attribute is present in the SELECT start tag, Lynx always will create a
  684. # vertical list of checkboxes for the OPTIONs.
  685. # The default defined here or in userdefs.h can be changed via the 'o'ptions
  686. # menu and saved in the RC file, and always can be toggled via the -popup
  687. # command line switch.
  688. #
  689. #USE_SELECT_POPUPS:TRUE
  690.  
  691.  
  692. .h2 SHOW_CURSOR
  693. # SHOW_CURSOR controls whether or not the cursor is hidden or appears
  694. # over the current link in documents or the current option in popups.
  695. # Showing the cursor is handy if you are a sighted user with a poor
  696. # terminal that can't do bold and reverse video at the same time or
  697. # at all.  It also can be useful to blind users, as an alternative
  698. # or supplement to setting LINKS_AND_FIELDS_ARE_NUMBERED or
  699. # LINKS_ARE_NUMBERED.
  700. # The default defined here or in userdefs.h can be changed via the
  701. # 'o'ptions menu and saved in the RC file, and always can be toggled
  702. # via the -show_cursor command line switch.
  703. #
  704. #SHOW_CURSOR:FALSE
  705.  
  706.  
  707. .h2 BOLD_HEADERS
  708. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be acted
  709. # upon for <H1> through <H6> headers.  The compilation default is FALSE
  710. # (only the indentation styles are acted upon, but see BOLD_H1, below).
  711. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  712. # HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  713. #
  714. #BOLD_HEADERS:FALSE
  715.  
  716.  
  717. .h2 BOLD_H1
  718. # If BOLD_H1 is set to TRUE the HT_BOLD default style will be acted
  719. # upon for <H1> headers even if BOLD_HEADERS is FALSE.  The compilation
  720. # default is FALSE.  On Unix, compilation with -DUNDERLINE_LINKS also
  721. # will apply to the HT_BOLD style for headers when BOLD_H1 is TRUE.
  722. #
  723. #BOLD_H1:FALSE
  724.  
  725.  
  726. .h2 BOLD_NAME_ANCHORS
  727. # If BOLD_NAME_ANCHORS is set to TRUE the content of anchors without
  728. # an HREF attribute, (i.e., anchors with a NAME or ID attribute) will
  729. # have the HT_BOLD default style.  The compilation default is FALSE.
  730. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  731. # HT_BOLD style for NAME (ID) anchors when BOLD_NAME_ANCHORS is TRUE.
  732. #
  733. #BOLD_NAME_ANCHORS:FALSE
  734.  
  735.  
  736. .h1 Internal Behavior
  737.  
  738. .h2 DEFAULT_CACHE_SIZE
  739. .h2 DEFAULT_VIRTUAL_MEMORY_SIZE
  740. # The DEFAULT_CACHE_SIZE specifies the number of WWW documents to be
  741. # cached in memory at one time.
  742. #
  743. # This so-called cache size (actually, number) is defined in userdefs.h and
  744. # may be modified here and/or with the command line argument -cache=NUMBER
  745. # The minimum allowed value is 2, for the current document and at least one
  746. # to fetch, and there is no absolute maximum number of cached documents.
  747. # On Unix, and VMS not compiled with VAXC, whenever the number is exceeded
  748. # the least recently displayed document will be removed from memory.
  749. #
  750. # On VMS compiled with VAXC, the DEFAULT_VIRTUAL_MEMORY_SIZE specifies the
  751. # amount (bytes) of virtual memory that can be allocated and not yet be freed
  752. # before previous documents are removed from memory.  If the values for both
  753. # the DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE are exceeded, then
  754. # the least recently displayed documents will be freed until one or the other
  755. # value is no longer exceeded.  The default value is defined in userdefs.h.
  756. #
  757. # The Unix and VMS (but not VAXC) implementations use the C library malloc's
  758. # and calloc's for memory allocation, but procedures for taking the actual
  759. # amount of cache into account still need to be developed.  They use only
  760. # the DEFAULT_CACHE_SIZE value, and that specifies the absolute maximum
  761. # number of documents to cache (rather than the maximum number only if
  762. # DEFAULT_VIRTUAL_MEMORY_SIZE has been exceeded, as with VAXC/VAX).
  763. #
  764. #DEFAULT_CACHE_SIZE:10
  765. #DEFAULT_VIRTUAL_MEMORY_SIZE:512000
  766.  
  767.  
  768. .h2 SOURCE_CACHE
  769. # SOURCE_CACHE sets the source caching behavior for Lynx:
  770. # FILE causes Lynx to keep a temporary file for each cached document
  771. #   containing the HTML source of the document, which it uses to regenerate
  772. #   the document when certain settings are changed (for instance,
  773. #   historical vs. minimal vs. valid comment parsing) instead of reloading
  774. #   the source from the network.
  775. # MEMORY is like FILE, except the document source is kept in memory.  You
  776. #   may wish to adjust DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE
  777. #   accordingly.
  778. # NONE is the default; the document source is not cached, and is reloaded
  779. #   from the network when needed.
  780. #
  781. #SOURCE_CACHE:NONE
  782.  
  783.  
  784. .h2 SOURCE_CACHE_FOR_ABORTED
  785. # This setting controls what will happen with cached source for the document
  786. # being fetched from the net if fetching was aborted (either user pressed
  787. # 'z' or network went down). If set to KEEP, the source fetched so far will
  788. # be preserved (and used as cache), if set to DROP lynx will drop the
  789. # source cache for that document (i.e. only completely downloaded documents
  790. # will be cached in that case).
  791. #SOURCE_CACHE_FOR_ABORTED:DROP
  792.  
  793. .h2 ALWAYS_RESUBMIT_POSTS
  794. # If ALWAYS_RESUBMIT_POSTS is set TRUE, Lynx always will resubmit forms
  795. # with method POST, dumping any cache from a previous submission of the
  796. # form, including when the document returned by that form is sought with
  797. # the PREV_DOC command or via the history list.  Lynx always resubmits
  798. # forms with method POST when a submit button or a submitting text input
  799. # is activated, but normally retrieves the previously returned document
  800. # if it had links which you activated, and then go back with the PREV_DOC
  801. # command or via the history list.
  802. #
  803. # The default defined here or in userdefs.h can be toggled via
  804. # the -resubmit_forms command line switch.
  805. #
  806. #ALWAYS_RESUBMIT_POSTS:FALSE
  807.  
  808. .h2 TRIM_INPUT_FIELDS
  809. # If TRIM_INPUT_FIELDS is set TRUE, Lynx will trim trailing whitespace (e.g.,
  810. # space, tab, carriage return, line feed and form feed) from the text entered
  811. # into form text and textarea fields.  Older versions of Lynx do this trimming
  812. # unconditionally, but other browsers do not, which would yield different
  813. # behavior for CGI scripts.
  814. #TRIM_INPUT_FIELDS:FALSE
  815.  
  816. .h1 HTML Parsing
  817.  
  818. .h2 NO_ISMAP_IF_USEMAP
  819. # If NO_ISMAP_IF_USEMAP is set TRUE, Lynx will not include a link to the
  820. # server-side image map if both a server-side and client-side map for the
  821. # same image is indicated in the HTML markup.  The compilation default is
  822. # FALSE, such that a link with "[ISMAP]" as the link name, followed by a
  823. # hyphen, will be prepended to the ALT string or "[USEMAP]" pseudo-ALT for
  824. # accessing Lynx's text-based rendition of the client-side map (based on
  825. # the content of the associated MAP element).  If the "[ISMAP]" link is
  826. # activated, Lynx will send a 0,0 coordinate pair to the server, which
  827. # Lynx-friendly sites can map to a for-text-client document, homologous
  828. # to what is intended for the content of a FIG element.
  829. #
  830. # The compilation default, or default defined here, can be toggled via
  831. # the "-ismap" command line switch.
  832. #
  833. #NO_ISMAP_IF_USEMAP:FALSE
  834.  
  835.  
  836. .h2 SEEK_FRAG_MAP_IN_CUR
  837. # If SEEK_FRAG_MAP_IN_CUR is set FALSE, then USEMAP attribute values
  838. # (in IMG or OBJECT tags) consisting of only a fragment (USEMAP="#foo")
  839. # will be resolved with respect to the current document's base, which
  840. # might not be the same as the current document's URL.
  841. # The compilation default is to use the current document's URL in all
  842. # cases (i.e., assume the MAP is present below, if it wasn't present
  843. # above the point in the HTML stream where the USEMAP attribute was
  844. # detected).  Lynx's present "single pass" rendering engine precludes
  845. # checking below before making the decision on how to resolve a USEMAP
  846. # reference consisting solely of a fragment.
  847. #
  848. #SEEK_FRAG_MAP_IN_CUR:TRUE
  849.  
  850.  
  851. .h2 SEEK_FRAG_AREA_IN_CUR
  852. # If SEEK_FRAG_AREA_IN_CUR is set FALSE, then HREF attribute values
  853. # in AREA tags consisting of only a fragment (HREF="#foo") will be
  854. # resolved with respect to the current document's base, which might
  855. # not be the same as the current document's URL.  The compilation
  856. # default is to use the current document's URL, as is done for the
  857. # HREF attribute values of Anchors and LINKs that consist solely of
  858. # a fragment.
  859. #
  860. #SEEK_FRAG_AREA_IN_CUR:TRUE
  861.  
  862.  
  863. .h1 CGI scripts
  864. # These settings control Lynx's ability to execute various types of scripts.
  865.  
  866. .h2 LOCAL_EXECUTION_LINKS_ALWAYS_ON
  867. .h2 LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE
  868. # Local execution links and scripts are by default completely disabled,
  869. # unless a change is made to the userdefs.h file to enable them or
  870. # the configure script is used with the corresponding options
  871. # (--enable-exec-links and --enable-exec-scripts).
  872. # See the Lynx source code distribution and the userdefs.h
  873. # file for more detail on enabling execution links and scripts.
  874. #
  875. # If you have enabled execution links or scripts the following
  876. # two variables control Lynx's action when an execution link
  877. # or script is encountered.
  878. #
  879. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  880. # link or script will be executed no matter where it came from.
  881. # This is EXTREMELY dangerous.  Since Lynx can access files from
  882. # anywhere in the world, you may encounter links or scripts that
  883. # will cause damage or compromise the security of your system.
  884. #
  885. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  886. # links or scripts that reside on the local machine and are
  887. # referenced with a URL beginning with "file://localhost/" or meet
  888. # TRUSTED_EXEC or ALWAYS_TRUSTED_EXEC rules (see below) will be
  889. # executed.  This is much less dangerous than enabling all execution
  890. # links, but can still be dangerous.
  891. #
  892. #LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  893. #LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  894.  
  895.  
  896. .h2 TRUSTED_EXEC
  897. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  898. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  899. # or lynxprog command will be permitted if it was referenced from within
  900. # a document whose URL begins with that string.  If you wish to restrict the
  901. # referencing URLs further, you can extend the string to include a trusted
  902. # path.  You also can specify a trusted directory for http URLs, which will
  903. # then be treated as if they were local rather than remote.  For example:
  904. #
  905. #    TRUSTED_EXEC:file://localhost/trusted/
  906. #    TRUSTED_EXEC:http://www.wfbr.edu/trusted/
  907. #
  908. # If you also wish to restrict the commands which can be executed, create
  909. # a series of rules with the path (Unix) or command name (VMS) following
  910. # the string, separated by a tab.  For example:
  911. #
  912. # Unix:
  913. # ====
  914. #    TRUSTED_EXEC:file://localhost/<tab>/bin/cp
  915. #    TRUSTED_EXEC:file://localhost/<tab>/bin/rm
  916. # VMS:
  917. # ===
  918. #    TRUSTED_EXEC:file://localhost/<tab>copy
  919. #    TRUSTED_EXEC:file://localhost/<tab>delete
  920. #
  921. # Once you specify a TRUSTED_EXEC referencing string, the default is
  922. # replaced, and all the referencing strings you desire must be specified
  923. # as a series.  Similarly, if you associate a command with the referencing
  924. # string, you must specify all of the allowable commands as a series of
  925. # TRUSTED_EXEC rules for that string.  If you specify ALWAYS_TRUSTED_EXEC
  926. # rules below, you need not repeat them as TRUSTED_EXEC rules.
  927. #
  928. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec or lynxprog
  929. # URLs in that file will be permitted, regardless of other settings.  If
  930. # you also set LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single
  931. # TRUSTED_EXEC rule that will always fail (e.g., "none"), then *ONLY* the
  932. # lynxexec or lynxprog URLs in JUMPFILE (and any ALWAYS_TRUSTED_EXEC rules,
  933. # see below) will be allowed.  Note, however, that if Lynx was compiled with
  934. # CAN_ANONYMOUS_JUMP set to FALSE (default is TRUE), or -restrictions=jump
  935. # is included with the -anonymous switch at run time, then users of an
  936. # anonymous account will not be able to access the jumps file or enter
  937. # 'j'ump shortcuts, and this selective execution feature will be overridden
  938. # as well (i.e., they will only be able to access lynxexec or lynxprog
  939. # URLs which meet any ALWAYS_TRUSTED_EXEC rules).
  940. #
  941. #TRUSTED_EXEC:none
  942.  
  943.  
  944. .h2 ALWAYS_TRUSTED_EXEC
  945. # If EXEC_LINKS was defined, any lynxexec or lynxprog URL can be made
  946. # always enabled by an ALWAYS_TRUSTED_EXEC rule for it.  This is useful for
  947. # anonymous accounts in which you have disabled execution links generally,
  948. # and may also have disabled jumps file links, but still want to allow
  949. # execution of particular utility scripts or programs.  The format is
  950. # like that for TRUSTED_EXEC.  For example:
  951. #
  952. # Unix:
  953. # ====
  954. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>/usr/local/kinetic/bin/usertime
  955. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>/usr/local/kinetic/bin/who.sh
  956. # VMS:
  957. # ===
  958. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>usertime
  959. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>show users
  960. #
  961. # The default ALWAYS_TRUSTED_EXEC rule is "none".
  962. #
  963. #ALWAYS_TRUSTED_EXEC:none
  964.  
  965.  
  966. .h2 TRUSTED_LYNXCGI
  967. # Unix:
  968. # =====
  969. # TRUSTED_LYNXCGI rules define the permitted sources and/or paths for
  970. # lynxcgi links (if LYNXCGI_LINKS is defined in userdefs.h).  The format
  971. # is the same as for TRUSTED_EXEC rules (see above), but no defaults are
  972. # defined, i.e., if no TRUSTED_LYNXCGI rules are defined here, any source
  973. # and path for lynxcgi links will be permitted.  Example rules:
  974. #
  975. #    TRUSTED_LYNXCGI:file://localhost/
  976. #     TRUSTED_LYNXCGI:<tab>/usr/local/etc/httpd/cgi-bin/
  977. #     TRUSTED_LYNXCGI:file://localhost/<tab>/usr/local/www/cgi-bin/
  978. #
  979. # VMS:
  980. # ====
  981. # Do not define this.
  982. #
  983. #TRUSTED_LYNXCGI:none
  984.  
  985.  
  986. .h2 LYNXCGI_ENVIRONMENT
  987. # Unix:
  988. # =====
  989. # LYNXCGI_ENVIRONMENT adds the current value of the specified
  990. # environment variable to the list of environment variables passed on to the
  991. # lynxcgi script.  Useful variables are HOME, USER, etc...  If proxies
  992. # are in use, and the script invokes another copy of lynx (or a program like
  993. # wget) in a subsidiary role, it can be useful to add http_proxy and other
  994. # *_proxy variables.
  995. #
  996. # VMS:
  997. # ====
  998. # Do not define this.
  999. #
  1000. #LYNXCGI_ENVIRONMENT:
  1001.  
  1002.  
  1003. .h2 LYNXCGI_DOCUMENT_ROOT
  1004. # Unix:
  1005. # =====
  1006. # LYNXCGI_DOCUMENT_ROOT is the value of DOCUMENT_ROOT that will be passed
  1007. # to lynxcgi scripts.  If set and the URL has PATH_INFO data, then
  1008. # PATH_TRANSLATED will also be generated.  Examples:
  1009. #    LYNXCGI_DOCUMENT_ROOT:/usr/local/etc/httpd/htdocs
  1010. #    LYNXCGI_DOCUMENT_ROOT:/data/htdocs/
  1011. #
  1012. # VMS:
  1013. # ====
  1014. # Do not define this.
  1015. #
  1016. #LYNXCGI_DOCUMENT_ROOT:
  1017.  
  1018.  
  1019. .h1 Cookies
  1020.  
  1021. .h2 FORCE_SSL_COOKIES_SECURE
  1022. # If FORCE_SSL_COOKIES_SECURE is set to TRUE, then SSL encrypted cookies
  1023. # received from https servers never will be sent unencrypted to http
  1024. # servers.  The compilation default is to impose this block only if the
  1025. # https server included a secure attribute for the cookie.  The normal
  1026. # default or that defined here can be toggled via the -force_secure
  1027. # command line switch.
  1028. #
  1029. #FORCE_SSL_COOKIES_SECURE:FALSE
  1030.  
  1031.  
  1032. .h1 Internal Behavior
  1033.  
  1034. .h2 MAIL_SYSTEM_ERROR_LOGGING
  1035. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of
  1036. #  the information, or ALERTMAIL if there is no owner, every time
  1037. #  that a document cannot be accessed!
  1038. #
  1039. #  NOTE:  This can generate A LOT of mail, be warned.
  1040. #
  1041. #MAIL_SYSTEM_ERROR_LOGGING:FALSE
  1042.  
  1043.  
  1044. .h2 CHECKMAIL
  1045. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  1046. # message) about the existence of any unread mail at startup of Lynx, and
  1047. # will get statusline messages if subsequent new mail arrives.  If a jumps
  1048. # file with a lynxprog URL for invoking mail is available, or your html
  1049. # pages include an mail launch file URL, the user thereby can access mail
  1050. # and read the messages.  The checks and statusline reports will not be
  1051. # performed if Lynx has been invoked with the -restrictions=mail switch.
  1052. #
  1053. # VMS USERS !!!
  1054. # =============
  1055. # New mail is normally broadcast as it arrives, via "unsolicited screen
  1056. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  1057. # command.  You may prefer to disable the broadcasts and use CHECKMAIL
  1058. # instead (e.g., in a public account which will be used by people who
  1059. # are ignorant about VMS).
  1060. #
  1061. #CHECKMAIL:FALSE
  1062.  
  1063.  
  1064. .h1 News-groups
  1065.  
  1066. .h2 NNTPSERVER
  1067. # To enable news reading ability via Lynx, the environment variable NNTPSERVER
  1068. # must be set so that it points to your site's NNTP server
  1069. # (see Lynx Users Guide on environment variables).
  1070. # Lynx respects RFC 1738 (http://www.ics.uci.edu/pub/ietf/uri/rfc1738.txt)
  1071. # and does not accept a host field in news URLs (use nntp: instead of news: for
  1072. # the scheme if you wish to specify an NNTP host in a URL, as explained in the
  1073. # RFC).  If you have not set the variable externally, you can set it at run
  1074. # time via this configuration file.  It will not override an external setting.
  1075. # Note that on VMS it is set as a process logical rather than symbol, and will
  1076. # outlive the Lynx image.
  1077. # The news reading facility in Lynx is quite limited.  Lynx does not provide a
  1078. # full featured news reader with elaborate error checking and safety features.
  1079. #
  1080. #NNTPSERVER:news.server.dom
  1081.  
  1082.  
  1083. .h2 LIST_NEWS_NUMBERS
  1084. # If LIST_NEWS_NUMBERS is set TRUE, Lynx will use an ordered list and include
  1085. # the numbers of articles in news listings, instead of using an unordered
  1086. # list.  The default is defined in userdefs.h, and can be overridden here.
  1087. #
  1088. #LIST_NEWS_NUMBERS:FALSE
  1089.  
  1090.  
  1091. .h2 LIST_NEWS_DATES
  1092. # If LIST_NEWS_DATES is set TRUE, Lynx will include the dates of articles in
  1093. # news listings.  The dates always are included in the articles, themselves.
  1094. # The default is defined in userdefs.h, and can be overridden here.
  1095. #
  1096. #LIST_NEWS_DATES:FALSE
  1097.  
  1098.  
  1099. .h2 NEWS_CHUNK_SIZE
  1100. .h2 NEWS_MAX_CHUNK
  1101. # NEWS_CHUNK_SIZE and NEWS_MAX_CHUNK regulate the chunking of news article
  1102. # listings with inclusion of links for listing earlier and/or later articles.
  1103. # The defaults are defined in HTNews.c as 30 and 40, respectively.  If the
  1104. # news group contains more than NEWS_MAX_CHUNK articles, they will be listed
  1105. # in NEWS_CHUNK_SIZE chunks.  You can change the defaults here, and/or on
  1106. # the command line via -newschunksize=NUMBER and/or -newsmaxchunk=NUMBER
  1107. # switches.  Note that if the chunk size is increased, here or on the command
  1108. # line, to a value greater than the current maximum, the maximum will be
  1109. # increased to that number.  Conversely, if the maximum is set to a number
  1110. # less than the current chunk size, the chunk size will be reduced to that
  1111. # number.  Thus, you need use only one of the two switches on the command
  1112. # line, based on the direction of intended change relative to the compilation
  1113. # or configuration defaults.  The compilation defaults ensure that there will
  1114. # be at least 10 earlier articles before bothering to chunk and create a link
  1115. # for earlier articles.
  1116. #
  1117. #NEWS_CHUNK_SIZE:30
  1118. #NEWS_MAX_CHUNK:40
  1119.  
  1120.  
  1121. .h2 NEWS_POSTING
  1122. # Set NEWS_POSTING to FALSE if you do not want to support posting to
  1123. # news groups via Lynx.  If left TRUE, Lynx will use its news gateway to
  1124. # post new messages or followups to news groups, using the URL schemes
  1125. # described in the "Supported URLs" section of the online 'h'elp.  The
  1126. # posts will be attempted via the nntp server specified in the URL, or
  1127. # if none was specified, via the NNTPSERVER configuration or environment
  1128. # variable.  Links with these URLs for posting or sending followups are
  1129. # created by the news gateway when reading group listings or articles
  1130. # from nntp servers if the server indicates that it permits posting.
  1131. # The compilation default set in userdefs.h can be changed here.  If
  1132. # the default is TRUE, posting can still be disallowed via the
  1133. # -restrictions command line switch.
  1134. # The posting facility in Lynx is quite limited.  Lynx does not provide a
  1135. # full featured news poster with elaborate error checking and safety features.
  1136. #
  1137. #NEWS_POSTING:TRUE
  1138.  
  1139.  
  1140. .h2 LYNX_SIG_FILE
  1141. # LYNX_SIG_FILE defines the name of a file containing a signature which
  1142. # can be appended to email messages and news postings or followups.  The
  1143. # user will be prompted whether to append it.  It is sought in the home
  1144. # directory.  If it is in a subdirectory, begin it with a dot-slash
  1145. # (e.g., ./lynx/.lynxsig).  The definition is set in userdefs.h and can
  1146. # be changed here.
  1147. #
  1148. #LYNX_SIG_FILE:.lynxsig
  1149.  
  1150. .h1 Bibliographic Protocol (bibp scheme)
  1151.  
  1152. .h2 BIBP_GLOBAL_SERVER
  1153. # BIBP_GLOBAL_SERVER is the default global server for bibp: links, used
  1154. # when a local bibhost or document-specified citehost is unavailable.
  1155. # Set in userdefs.h and can be changed here.
  1156. #BIBP_GLOBAL_SERVER:http://usin.org/
  1157.  
  1158. .h2 BIBP_BIBHOST
  1159. # BIBP_BIBHOST is the URL at which local bibp service may be found, if
  1160. # it exists.   Defaults to http://bibhost/ for protocol conformance, but
  1161. # may be overridden here or via --bibhost parameter.
  1162. #BIBP_BIBHOST:http://bibhost/
  1163.  
  1164. .h1 Interaction
  1165. # These settings control interaction of the user with lynx.
  1166.  
  1167. .h2 SCROLLBAR
  1168. # If SCROLLBAR is set TRUE, Lynx will show scrollbar on windows.  With mouse
  1169. # enabled, the scrollbar strip outside the bar is clickable, and scrolls the
  1170. # window by pages.  The appearance of the scrollbar can be changed from
  1171. # LYNX_LSS file:  define attributes scroll.bar, scroll.back (for the bar, and
  1172. # for the strip along which the scrollbar moves).
  1173. #SCROLLBAR:FALSE
  1174.  
  1175.  
  1176. .h2 SCROLLBAR_ARROW
  1177. # If SCROLLBAR_ARROW is set TRUE, Lynx's scrollbar will have arrows at the
  1178. # ends.  With mouse enabled, the arrows are clickable, and scroll the window by
  1179. # 2 lines.  The appearance of the scrollbar arrows can be changed from LYNX_LSS
  1180. # file:  define attributes scroll.arrow, scroll.noarrow (for enabled-arrows,
  1181. # and disabled arrows).  An arrow is "disabled" if the bar is at this end of
  1182. # the strip.
  1183. #SCROLLBAR_ARROW:TRUE
  1184.  
  1185.  
  1186. .h2 USE_MOUSE
  1187. # If Lynx is configured with ncurses, PDcurses or slang & USE_MOUSE is TRUE,
  1188. # users can perform commands by left-clicking certain parts of the screen:
  1189. #   on a link = `g'oto + ACTIVATE (ie move highlight & follow the link);
  1190. #   on the top/bottom lines = PREV/NEXT_PAGE (ie go up/down 1 page);
  1191. #   on the top/bottom left corners = PREV_DOC (ie go to the previous document);
  1192. #   on the top/bottom right corners = HISTORY (ie call up the history page).
  1193. # NB if the mouse is defined in this way, it will not be available
  1194. # for copy/paste operations using the clipboard of a desktop manager:
  1195. # for flexibility instead, use the command-line switch  -use_mouse .
  1196. #
  1197. # ncurses and slang have built-in support for the xterm mouse protocol.  In
  1198. # addition, ncurses can be linked with the gpm mouse library, to automatically
  1199. # provide support for this interface in applications such as Lynx.  (Please
  1200. # read the ncurses faq to work around broken gpm configurations packaged by
  1201. # some distributors).  PDCurses implements mouse support for win32 console
  1202. # windows, as does slang.
  1203. #USE_MOUSE:FALSE
  1204.  
  1205.  
  1206. .h1 HTML Parsing
  1207. # These settings control the way Lynx parses invalid HTML
  1208. # and how it may resolve such issues.
  1209.  
  1210. .h2 COLLAPSE_BR_TAGS
  1211. # If COLLAPSE_BR_TAGS is set FALSE, Lynx will not collapse serial BR tags.
  1212. # If set TRUE, two or more concurrent BRs will be collapsed into a single
  1213. # line break.  Note that the valid way to insert extra blank lines in HTML
  1214. # is via a PRE block with only newlines in the block.
  1215. #
  1216. #COLLAPSE_BR_TAGS:TRUE
  1217.  
  1218.  
  1219. .h2 TAGSOUP
  1220. # If TAGSOUP is set, Lynx uses the "Tag Soup DTD" rather than "SortaSGML".
  1221. # The two approaches differ by the style of error detection and recovery.
  1222. # Tag Soup DTD allows for improperly nested tags; SortaSGML is stricter.
  1223. #TAGSOUP:FALSE
  1224.  
  1225.  
  1226. .h1 Cookies
  1227.  
  1228. .h2 SET_COOKIES
  1229. # If SET_COOKIES is set FALSE, Lynx will ignore Set-Cookie headers
  1230. # in http server replies.  Note that if a COOKIE_FILE is in use (see
  1231. # below) that contains cookies at startup, Lynx will still send those
  1232. # persistent cookies in requests as appropriate.  Setting SET_COOKIES
  1233. # to FALSE just prevents accepting any new cookies from servers.  To
  1234. # prevent all cookie processing (sending *and* receiving) in a session,
  1235. # make sure that PERSISTENT_COOKIES is not TRUE or that COOKIE_FILE does
  1236. # not point to a file with cookies, in addition to setting SET_COOKIES
  1237. # to FALSE.
  1238. # The default is defined in userdefs.h, and can be overridden here,
  1239. # and/or toggled via the -cookies command line switch.
  1240. #
  1241. #SET_COOKIES:TRUE
  1242.  
  1243.  
  1244. .h2 ACCEPT_ALL_COOKIES
  1245. # If ACCEPT_ALL_COOKIES is set TRUE, Lynx will accept cookies from all
  1246. # domains with no user interaction.  This is equivalent to automatically
  1247. # replying to all cookie 'Allow?' prompts with 'A'lways.  Note that it
  1248. # does not preempt validity checking, which has to be controlled separately
  1249. # (see below).
  1250. # The default is defined in userdefs.h and can be overridden here, or
  1251. # in the .lynxrc file via an o(ptions) screen setting.  It may also be
  1252. # toggled via the -accept_all_cookies command line switch.
  1253. #
  1254. #ACCEPT_ALL_COOKIES:FALSE
  1255.  
  1256.  
  1257. .h2 COOKIE_ACCEPT_DOMAINS
  1258. .h2 COOKIE_REJECT_DOMAINS
  1259. # COOKIE_ACCEPT_DOMAINS and COOKIE_REJECT_DOMAINS are comma-delimited lists
  1260. # of domains from which Lynx should automatically accept or reject cookies
  1261. # without asking for confirmation.  If the same domain is specified in both
  1262. # lists, rejection will take precedence.
  1263. # Note that in order to match cookies, domains have to be spelled out exactly
  1264. # in the form in which they would appear on the Cookie Jar page (case is
  1265. # insignificant).  They are not wildcards.  Domains that apply to more than
  1266. # one host have a leading '.', but have to match *the cookie's* domain
  1267. # exactly.
  1268. #
  1269. #COOKIE_ACCEPT_DOMAINS:
  1270. #COOKIE_REJECT_DOMAINS:
  1271.  
  1272.  
  1273. .h2 COOKIE_LOOSE_INVALID_DOMAINS
  1274. .h2 COOKIE_STRICT_INVALID_DOMAINS
  1275. .h2 COOKIE_QUERY_INVALID_DOMAINS
  1276. # COOKIE_LOOSE_INVALID_DOMAINS, COOKIE_STRICT_INVALID_DOMAINS, and
  1277. # COOKIE_QUERY_INVALID_DOMAINS are comma-delimited lists of domains.
  1278. # They control the degree of validity checking that is applied to cookies
  1279. # for the specified domains.
  1280. # Note that in order to match cookies, domains have to be spelled out exactly
  1281. # in the form in which they would appear on the Cookie Jar page (case is
  1282. # insignificant).  They are not wildcards.  Domains that apply to more than
  1283. # one host have a leading '.', but have to match *the cookie's* domain
  1284. # exactly.
  1285. # If a domain is set to strict checking, strict conformance to RFC2109 will
  1286. # be applied.  A domain with loose checking will be allowed to set cookies
  1287. # with an invalid path or domain attribute.  All domains will default to
  1288. # asking the user for confirmation in case of an invalid path or domain.
  1289. # Cookie validity checking takes place as a separate step before the
  1290. # final decision to accept or reject (see previous options), therefore
  1291. # a cookie that passes validity checking may still be automatically
  1292. # rejected or cause another prompt.
  1293. #
  1294. #COOKIE_LOOSE_INVALID_DOMAINS:
  1295. #COOKIE_STRICT_INVALID_DOMAINS:
  1296. #COOKIE_QUERY_INVALID_DOMAINS:
  1297.  
  1298.  
  1299. .h2 PERSISTENT_COOKIES
  1300. # PERSISTENT_COOKIES indicates that cookies should be read at startup from
  1301. # the COOKIE_FILE, and saved at exit for storage between Lynx sessions.
  1302. # It is not used if Lynx was compiled without EXP_PERSISTENT_COOKIES.
  1303. # The default is FALSE, so that the feature needs to be enabled here
  1304. # explicitly if you want it.
  1305. #
  1306. #PERSISTENT_COOKIES:FALSE
  1307.  
  1308.  
  1309. .h2 COOKIE_FILE
  1310. # COOKIE_FILE is the default file from which persistent cookies are read
  1311. # at startup (if the file exists), if Lynx was compiled with
  1312. # EXP_PERSISTENT_COOKIES and the PERSISTENT_COOKIES option is enabled.
  1313. # The cookie file can also be specified in .lynxrc or on the command line.
  1314. #
  1315. #COOKIE_FILE:~/.lynx_cookies
  1316.  
  1317.  
  1318. .h2 COOKIE_SAVE_FILE
  1319. # COOKIE_SAVE_FILE is the default file in which persistent cookies are
  1320. # stored at exit, if Lynx was compiled with EXP_PERSISTENT_COOKIES and the
  1321. # PERSISTENT_COOKIES option is enabled.  The cookie save file can also be
  1322. # specified on the command line.
  1323. #
  1324. # With an interactive Lynx session, COOKIE_SAVE_FILE will default to
  1325. # COOKIE_FILE if it is not set.  With a non-interactive Lynx session (e.g.,
  1326. # -dump), cookies will only be saved to file if COOKIE_SAVE_FILE is set.
  1327. #
  1328. #COOKIE_SAVE_FILE:~/.lynx_cookies
  1329.  
  1330.  
  1331. .h1 Mail-related
  1332.  
  1333. .h2 SYSTEM_MAIL
  1334. .h2 SYSTEM_MAIL_FLAGS
  1335. # VMS:
  1336. # ===
  1337. # The mail command and qualifiers are defined in userdefs.h.  Lynx
  1338. # will spawn a subprocess to send replies and error messages.  The
  1339. # command, and qualifiers (if any), can be re-defined here.  If
  1340. # you use PMDF then headers will we passed via a header file.
  1341. # If you use "generic" VMS MAIL, the subject will be passed on the
  1342. # command line via a /subject="SUBJECT" qualifier, and inclusion
  1343. # of other relevant headers may not be possible.
  1344. # If your mailer uses another syntax, some hacking of the mailform()
  1345. # mailmsg() and reply_by_mail() functions in LYMail.c, and send_file_to_mail()
  1346. # function in LYPrint.c, may be required.
  1347. #
  1348. .ex 2
  1349. #SYSTEM_MAIL:PMDF SEND
  1350. #SYSTEM_MAIL_FLAGS:/headers
  1351. #
  1352. .ex 2
  1353. #SYSTEM_MAIL:MAIL
  1354. #SYSTEM_MAIL_FLAGS:
  1355. #
  1356. # Unix:
  1357. #======
  1358. # The mail path and flags normally are defined for sendmail (or submit
  1359. # with MMDF) in userdefs.h.  You can change them here, but should first
  1360. # read the zillions of CERT advisories about security problems with Unix
  1361. # mailers.
  1362. #
  1363. .ex 2
  1364. #SYSTEM_MAIL:/usr/mmdf/bin/submit
  1365. #SYSTEM_MAIL_FLAGS:-mlruxto,cc\*
  1366. #
  1367. .ex 2
  1368. #SYSTEM_MAIL:/usr/sbin/sendmail
  1369. #SYSTEM_MAIL_FLAGS:-t -oi
  1370. #
  1371. .ex 2
  1372. #SYSTEM_MAIL:/usr/lib/sendmail
  1373. #SYSTEM_MAIL_FLAGS:-t -oi
  1374.  
  1375. # Win32:
  1376. #=======
  1377. # Please read sendmail.txt in the LYNX_W32.ZIP distribution
  1378. #
  1379. #SYSTEM_MAIL:sendmail -f me@my.host -h my.host -r my.smtp.mailer -m SMTP
  1380.  
  1381.  
  1382. .h2 MAIL_ADRS
  1383. # VMS ONLY:
  1384. # ========
  1385. # MAIL_ADRS is defined in userdefs.h and normally is structured for PMDF's
  1386. # IN%"INTERNET_ADDRESS" scheme.  The %s is replaced with the address given
  1387. # by the user.  If you are using a different Internet mail transport, change
  1388. # the IN appropriately (e.g., to SMTP, MX, or WINS).
  1389. #
  1390. #MAIL_ADRS:"IN%%""%s"""
  1391.  
  1392.  
  1393. .h2 USE_FIXED_RECORDS
  1394. # VMS ONLY:
  1395. # ========
  1396. # If USE_FIXED_RECORDS is set to TRUE here or in userdefs.h, Lynx will
  1397. # convert 'd'ownloaded binary files to FIXED 512 record format before saving
  1398. # them to disk or acting on a DOWNLOADER option.  If set to FALSE, the
  1399. # headers of such files will indicate that they are Stream_LF with Implied
  1400. # Carriage Control, which is incorrect, and can cause downloading software
  1401. # to get confused and unhappy.  If you do set it FALSE, you can use the
  1402. # FIXED512.COM command file, which is included in this distribution, to do
  1403. # the conversion externally.
  1404. #
  1405. #USE_FIXED_RECORDS:TRUE
  1406.  
  1407.  
  1408. .h1 Keyboard Input
  1409. # These settings control the way Lynx interprets user input.
  1410.  
  1411.  
  1412. .h2 VI_KEYS_ALWAYS_ON
  1413. .h2 EMACS_KEYS_ALWAYS_ON
  1414. # Vi or Emacs movement keys, i.e. familiar hjkl or ^N^P^F^B .
  1415. # These are defaults, which can be changed in the Options Menu or .lynxrc .
  1416. #VI_KEYS_ALWAYS_ON:FALSE
  1417. #EMACS_KEYS_ALWAYS_ON:FALSE
  1418.  
  1419.  
  1420. .h2 DEFAULT_KEYPAD_MODE
  1421. # DEFAULT_KEYPAD_MODE may be set to NUMBERS_AS_ARROWS
  1422. #                                or LINKS_ARE_NUMBERED
  1423. #                                or LINKS_AND_FIELDS_ARE_NUMBERED
  1424. # to specify whether numbers (e.g. [10]) appear before all links,
  1425. # allowing immediate access by entering the number on the keyboard,
  1426. # or numbers on the numeric key-pad work like arrows;
  1427. # the 3rd option causes form fields also to be preceded by numbers.
  1428. # The first two options (but not the last) can be changed in lynx.cfg
  1429. # and all three can be changed via the Options Menu.
  1430. #
  1431. #DEFAULT_KEYPAD_MODE:NUMBERS_AS_ARROWS
  1432.  
  1433.  
  1434. .h2 DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS
  1435. # Obsolete form of DEFAULT_KEYPAD_MODE,
  1436. # numbers work like arrows or numbered links.
  1437. # Set to TRUE, indicates numbers act as arrows,
  1438. # and set to FALSE indicates numbers refer to numbered links on the page.
  1439. # LINKS_AND_FIELDS_ARE_NUMBERED cannot be set by this option because
  1440. # it allows only two values (true and false).
  1441. #
  1442. #DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  1443.  
  1444.  
  1445. .h2 CASE_SENSITIVE_ALWAYS_ON
  1446. # The default search type.
  1447. # This is a default that can be overridden by the user!
  1448. #
  1449. #CASE_SENSITIVE_ALWAYS_ON:FALSE
  1450.  
  1451.  
  1452. .h1 Auxiliary Facilities
  1453.  
  1454. .h2 DEFAULT_BOOKMARK_FILE
  1455. # DEFAULT_BOOKMARK_FILE is the filename used for storing personal bookmarks.
  1456. # It will be prepended by the user's home directory.
  1457. # NOTE that a file ending in .html or other suffix mapped to text/html
  1458. # should be used to ensure its treatment as HTML.  The built-in default
  1459. # is lynx_bookmarks.html.  On both Unix and VMS, if a subdirectory off of
  1460. # the HOME directory is desired, the path should begin with "./" (e.g.,
  1461. # ./BM/lynx_bookmarks.html), but the subdirectory must already exist.
  1462. # Lynx will create the bookmark file, if it does not already exist, on
  1463. # the first ADD_BOOKMARK attempt if the HOME directory is indicated
  1464. # (i.e., if the definition is just filename.html without any slashes),
  1465. # but requires a pre-existing subdirectory to create the file there.
  1466. # The user can re-define the default bookmark file, as well as a set
  1467. # of sub-bookmark files if multiple bookmark file support is enabled
  1468. # (see below), via the 'o'ptions menu, and can save those definitions
  1469. # in the .lynxrc file.
  1470. #
  1471. #DEFAULT_BOOKMARK_FILE:lynx_bookmarks.html
  1472.  
  1473.  
  1474. .h2 MULTI_BOOKMARK_SUPPORT
  1475. # If MULTI_BOOKMARK_SUPPORT is set TRUE, and BLOCK_MULTI_BOOKMARKS (see
  1476. # below) is FALSE, and sub-bookmarks exist, all bookmark operations will
  1477. # first prompt the user to select an active sub-bookmark file or the
  1478. # default bookmark file.  FALSE is the default so that one (the default)
  1479. # bookmark file will be available initially.  The definition here will
  1480. # override that in userdefs.h.  The user can turn on multiple bookmark
  1481. # support via the 'o'ptions menu, and can save that choice as the startup
  1482. # default via the .lynxrc file.  When on, the setting can be STANDARD or
  1483. # ADVANCED.  If SUPPORT is set to the latter, and the user mode also is
  1484. # ADVANCED, the VIEW_BOOKMARK command will invoke a statusline prompt at
  1485. # which the user can enter the letter token (A - Z) of the desired bookmark,
  1486. # or '=' to get a menu of available bookmark files.  The menu always is
  1487. # presented in NOVICE or INTERMEDIATE mode, or if the SUPPORT is set to
  1488. # STANDARD.  No prompting or menu display occurs if only one (the startup
  1489. # default) bookmark file has been defined (define additional ones via the
  1490. # 'o'ptions menu).  The startup default, however set, can be overridden on
  1491. # the command line via the -restrictions=multibook or the -anonymous or
  1492. # -validate switches.
  1493. #
  1494. #MULTI_BOOKMARK_SUPPORT:FALSE
  1495.  
  1496.  
  1497. .h2 BLOCK_MULTI_BOOKMARKS
  1498. # If BLOCK_MULTI_BOOKMARKS is set TRUE, multiple bookmark support will
  1499. # be forced off, and cannot to toggled on via the 'o'ptions menu.  The
  1500. # compilation setting is normally FALSE, and can be overridden here.
  1501. # It can also be set via the -restrictions=multibook or the -anonymous
  1502. # or -validate command line switches.
  1503. #
  1504. #BLOCK_MULTI_BOOKMARKS:FALSE
  1505.  
  1506.  
  1507. .h1 Interaction
  1508.  
  1509. .h2 DEFAULT_USER_MODE
  1510. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  1511. # NOVICE shows a three line help message at the bottom of the screen.
  1512. # INTERMEDIATE shows normal amount of help (one line).
  1513. # ADVANCED help is replaced by the URL of the current link.
  1514. #
  1515. #DEFAULT_USER_MODE:NOVICE
  1516.  
  1517.  
  1518. .h1 External Programs
  1519.  
  1520. .h2 DEFAULT_EDITOR
  1521. # If DEFAULT_EDITOR is defined, users may edit local documents with it
  1522. # & it will also be used for sending mail messages.
  1523. # If no editor is defined here or by the user,
  1524. # the user will not be able to edit local documents
  1525. # and a primitive line-oriented mail-input mode will be used.
  1526. #
  1527. # For sysadmins: do not define a default editor
  1528. # unless you know EVERY user will know how to use it;
  1529. # users can easily define their own editor in the Options Menu.
  1530. #
  1531. #DEFAULT_EDITOR:
  1532.  
  1533.  
  1534. .h2 SYSTEM_EDITOR
  1535. # SYSTEM_EDITOR behaves the same as DEFAULT_EDITOR,
  1536. # except that it can't be changed by users.
  1537. #
  1538. #SYSTEM_EDITOR:
  1539.  
  1540.  
  1541. .h1 Proxy
  1542.  
  1543. .h2 HTTP_PROXY
  1544. .h2 HTTPS_PROXY
  1545. .h2 FTP_PROXY
  1546. .h2 GOPHER_PROXY
  1547. .h2 NEWSPOST_PROXY
  1548. .h2 NEWSREPLY_PROXY
  1549. .h2 NEWS_PROXY
  1550. .h2 NNTP_PROXY
  1551. .h2 SNEWSPOST_PROXY
  1552. .h2 SNEWSREPLY_PROXY
  1553. .h2 SNEWS_PROXY
  1554. .h2 WAIS_PROXY
  1555. .h2 FINGER_PROXY
  1556. .h2 CSO_PROXY
  1557. # Lynx version 2.2 and beyond supports the use of proxy servers that can act as
  1558. # firewall gateways and caching servers.  They are preferable to the older
  1559. # gateway servers.  Each protocol used by Lynx can be mapped separately using
  1560. # PROTOCOL_proxy environment variables (see Lynx Users Guide).  If you have not set
  1561. # them externally, you can set them at run time via this configuration file.
  1562. # They will not override external settings.  The no_proxy variable can be used
  1563. # to inhibit proxying to selected regions of the Web (see below).  Note that on
  1564. # VMS these proxy variables are set as process logicals rather than symbols, to
  1565. # preserve lowercasing, and will outlive the Lynx image.
  1566. #
  1567. .ex 15
  1568. #http_proxy:http://some.server.dom:port/
  1569. #https_proxy:http://some.server.dom:port/
  1570. #ftp_proxy:http://some.server.dom:port/
  1571. #gopher_proxy:http://some.server.dom:port/
  1572. #news_proxy:http://some.server.dom:port/
  1573. #newspost_proxy:http://some.server.dom:port/
  1574. #newsreply_proxy:http://some.server.dom:port/
  1575. #snews_proxy:http://some.server.dom:port/
  1576. #snewspost_proxy:http://some.server.dom:port/
  1577. #snewsreply_proxy:http://some.server.dom:port/
  1578. #nntp_proxy:http://some.server.dom:port/
  1579. #wais_proxy:http://some.server.dom:port/
  1580. #finger_proxy:http://some.server.dom:port/
  1581. #cso_proxy:http://some.server.dom:port/
  1582. #no_proxy:host.domain.dom
  1583.  
  1584.  
  1585. .h2 NO_PROXY
  1586. # The no_proxy variable can be a comma-separated list of strings defining
  1587. # no-proxy zones in the DNS domain name space.  If a tail substring of the
  1588. # domain-path for a host matches one of these strings, transactions with that
  1589. # node will not be proxied.
  1590. .ex
  1591. #no_proxy:domain.path1,path2
  1592. #
  1593. # A single asterisk as an entry will override all proxy variables and no
  1594. # transactions will be proxied.
  1595. .ex
  1596. #no_proxy:*
  1597. # This is the only allowed use of * in no_proxy.
  1598. #
  1599. # Warning:  Note that setting 'il' as an entry in this list will block proxying
  1600. # for the .mil domain as well as the .il domain.  If the entry is '.il' this
  1601. # will not happen.
  1602.  
  1603.  
  1604. .h1 External Programs
  1605.  
  1606. .h2 PRINTER
  1607. .h2 DOWNLOADER
  1608. .h2 UPLOADER
  1609. # PRINTER, DOWNLOADER & UPLOADER DEFINITIONS:
  1610. # Lynx has 4 pre-defined print options & 1 pre-defined download option,
  1611. # which are called up on-screen when `p' or `d' are entered;
  1612. # any number of options can be added by the user, as explained below.
  1613. # Uploaders can be defined only for UNIX with DIRED_SUPPORT:
  1614. # see the Makefile in the top directory & the header of src/LYUpload.c .
  1615. #
  1616. # For `p' pre-defined options are: `Save to local file', `E-mail the file',
  1617. # `Print to screen' and `Print to local printer attached to vt100'.
  1618. # `Print to screen' allows file transfers in the absence of alternatives
  1619. # and is often the only option allowed here for anonymous users;
  1620. # the 3rd & 4th options are not pre-defined for DOS/WINDOWS versions of Lynx.
  1621. # For `d' the pre-defined option is: `Download to local file'.
  1622. #
  1623. # To define your own print or download option use the following formats:
  1624. #
  1625. # PRINTER:<name>:<command>:<option>:<lines/page>
  1626. #
  1627. # DOWNLOADER:<name>:<command>:<option>
  1628. #
  1629. # <name>       is what you will see on the print/download screen.
  1630. #
  1631. # <command>    is the command your system will execute:
  1632. #              the 1st %s in the command will be replaced
  1633. #              by the temporary filename used by Lynx;
  1634. #              a 2nd %s will be replaced by a filename of your choice,
  1635. #              for which Lynx will prompt, offering a suggestion.
  1636. #              On Unix, which has pipes, you may use a '|' as the first
  1637. #              character of the command, and Lynx will open a pipe to
  1638. #              the command.
  1639. #              If the command format of your printer/downloader requires
  1640. #              a different layout, you will need to use a script
  1641. #              (see the last 2 download examples below).
  1642. #
  1643. # <option>     TRUE : the printer/downloader will always be ENABLED,
  1644. #              except that downloading is disabled when -validate is used;
  1645. #              FALSE : both will be DISABLED for anonymous users
  1646. #              and printing will be disabled when -noprint is used.
  1647. #
  1648. # <lines/page> (printers: optional) the number of lines/page (default 66):
  1649. #              used to compute the approximate output size
  1650. #              and prompt if the document is > 4 printer pages;
  1651. #              it uses current screen length for the computation
  1652. #              when `Print to screen' is selected.
  1653. #
  1654. # You must put the whole definition on one line;
  1655. # if you use a colon, precede it with a backslash.
  1656. #
  1657. # `Printer' can be any file-handling program you find useful,
  1658. # even if it does not physically print anything.
  1659. #
  1660. # Usually, down/up-loading involves the use of (e.g.) Ckermit or ZModem
  1661. # to transfer files to a user's local machine over a serial link,
  1662. # but download options do not have to be download-protocol programs.
  1663. #
  1664. # Printer examples:
  1665. .ex 3
  1666. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  1667. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  1668. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE:58
  1669. # If you have a very busy VMS print queue
  1670. # and Lynx deletes the temporary files before they have been queued,
  1671. # use the VMSPrint.com included in the distribution:
  1672. .ex
  1673. #PRINTER:Busy VMS printer:@Lynx_Dir\:VMSPrint sys$print %s:FALSE:58
  1674. # To specify a print option at run-time:
  1675. # NBB if you have ANONYMOUS users, DO NOT allow this option!
  1676. .ex
  1677. #PRINTER:Specify at run-time:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  1678. # To pass to a sophisticated file viewer: -k suppresses invocation
  1679. # of hex display mode if 8-bit or control characters are present;
  1680. # +s invokes secure mode (see ftp://space.mit.edu/pub/davis/most):
  1681. .ex
  1682. #PRINTER:Use Most to view:most -k +s %s:TRUE:23
  1683. #
  1684. # Downloader examples:
  1685. # in Kermit, -s %s is the filename sent, -a %s the filename on arrival
  1686. # (if they are given in reverse order here, the command will fail):
  1687. .ex
  1688. #DOWNLOADER:Use Kermit to download to the terminal:kermit -i -s %s -a %s:TRUE
  1689. # NB don't use -k with Most, so that binaries will invoke hexadecimal mode:
  1690. .ex
  1691. #DOWNLOADER:Use Most to view:most +s %s:TRUE
  1692. # The following example gives wrong filenames
  1693. # (`sz' doesn't support a suggested filename parameter):
  1694. .ex
  1695. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  1696. # The following example returns correct filenames
  1697. # by using a script to make a subdirectory in /tmp,
  1698. # but may conflict with very strong security or permissions restrictions:
  1699. .ex
  1700. #DOWNLOADER:Use Zmodem to download to the local terminal:set %s %s;td=/tmp/Lsz$$;mkdir $td;ln -s $1 $td/"$2";sz $td/"$2";rm -r $td:TRUE
  1701. .ex 2
  1702. #UPLOADER:Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  1703. #UPLOADER:Use Zmodem to upload from your computer: rz %s:TRUE
  1704. #
  1705. # Note for OS/390: /* S/390 -- gil -- 1464 */
  1706. # The following is strongly recommended to undo ASCII->EBCDIC conversion.
  1707. .ex
  1708. #DOWNLOADER:Save OS/390 binary file: iconv -f IBM-1047 -t ISO8859-1 %s >%s:FALSE
  1709.  
  1710.  
  1711. .h1 Interaction
  1712.  
  1713. .h2 NO_DOT_FILES
  1714. # If NO_DOT_FILES is TRUE (normal default via userdefs.h), the user will not
  1715. # be allowed to specify files beginning with a dot in reply to output filename
  1716. # prompts, and files beginning with a dot (e.g., file://localhost/path/.lynxrc)
  1717. # will not be included in the directory browser's listings.  If set FALSE, you
  1718. # can force it to be treated as TRUE via -restrictions=dotfiles.  If set FALSE
  1719. # and not forced TRUE, the user can regulate it via the 'o'ptions menu (and
  1720. # may save the preference in the RC file).
  1721. #
  1722. #NO_DOT_FILES:TRUE
  1723.  
  1724.  
  1725. .h1 Internal Behavior
  1726.  
  1727. .h2 NO_FROM_HEADER
  1728. # If NO_FROM_HEADER is set FALSE, From headers will be sent in transmissions
  1729. # to http or https servers if the personal_mail_address has been defined via
  1730. # the 'o'ptions menu.  The compilation default is TRUE (no From header is
  1731. # sent) and the default can be changed here.  The default can be toggled at
  1732. # run time via the -from switch.  Note that transmissions of From headers
  1733. # have become widely considered to create an invasion of privacy risk.
  1734. #
  1735. #NO_FROM_HEADER:TRUE
  1736.  
  1737.  
  1738. .h2 NO_REFERER_HEADER
  1739. # If NO_REFERER_HEADER is TRUE, Referer headers never will be sent in
  1740. # transmissions to servers.  Lynx normally sends the URL of the document
  1741. # from which the link was derived, but not for startfile URLs, 'g'oto
  1742. # URLs, 'j'ump shortcuts, bookmark file links, history list links, or
  1743. # URLs that include the content from form submissions with method GET.
  1744. # If left FALSE here, it can be set TRUE at run time via the -noreferer
  1745. # switch.
  1746. #
  1747. #NO_REFERER_HEADER:FALSE
  1748.  
  1749.  
  1750. .h1 Internal Behavior
  1751.  
  1752. .h2 NO_FILE_REFERER
  1753. # If NO_FILE_REFERER is TRUE, Referer headers never will be sent in
  1754. # transmissions to servers for links or actions derived from documents
  1755. # or forms with file URLs.  This ensures that paths associated with
  1756. # the local file system are never indicated to servers, even if
  1757. # NO_REFERER_HEADER is FALSE.  If set to FALSE here, it can still be
  1758. # set TRUE at run time via the -nofilereferer switch.
  1759. #
  1760. #NO_FILE_REFERER:TRUE
  1761.  
  1762.  
  1763. .h2 REFERER_WITH_QUERY
  1764. # REFERER_WITH_QUERY controls what happens when the URL in a Referer
  1765. # header to be sent would contain a query part in the form of a '?'
  1766. # character followed by one or more attribute=value pairs.  Query parts
  1767. # often contain sensitive or personal information resulting from filling
  1768. # out forms, or other info that allows tracking of a user's browsing path
  1769. # through a site, an thus should not be put in a Referer header (which may
  1770. # get sent to an unrelated third-party site).  On the other hand, some
  1771. # sites (improperly) rely on browsers sending Referer headers, even when
  1772. # the user is coming from a page whose URL has a query part.
  1773. #
  1774. # If REFERER_WITH_QUERY is SEND, full Referer headers will be sent
  1775. # including the query part (unless sending of Referer is disabled in
  1776. # general, see NO_REFERER_HEADER above).  If REFERER_WITH_QUERY is
  1777. # PARTIAL, the Referer header will contain a partial URL, with the query
  1778. # part stripped off.  This is not strictly correct, but should satisfy
  1779. # those sites that check only whether the user arrived at a page from an
  1780. # "outside" link.  If REFERER_WITH_QUERY is set to DROP (or anything else
  1781. # unrecognized), the default, no Referer header is sent at all in this
  1782. # situation.
  1783. #
  1784. #REFERER_WITH_QUERY:DROP
  1785.  
  1786.  
  1787. .h1 Appearance
  1788.  
  1789. .h2 VERBOSE_IMAGES
  1790. # VERBOSE_IMAGES controls whether Lynx replaces [LINK], [INLINE] and [IMAGE]
  1791. # (for images without ALT) with filenames of these images.
  1792. # This can be useful in determining what images are important
  1793. # and which are mere decorations, e.g. button.gif, line.gif,
  1794. # provided the author uses meaningful names.
  1795. #
  1796. # The definition here will override the setting in userdefs.h.
  1797. #
  1798. #VERBOSE_IMAGES:TRUE
  1799.  
  1800.  
  1801. .h2 MAKE_LINKS_FOR_ALL_IMAGES
  1802. # If MAKE_LINKS_FOR_ALL_IMAGES is TRUE, all images will be given links
  1803. # which can be ACTIVATEd.  For inlines, the ALT or pseudo-ALT ("[INLINE]")
  1804. # strings will be links for the resolved SRC rather than just text.
  1805. # For ISMAP or other graphic links, ALT or pseudo-ALT ("[ISMAP]" or "[LINK]")
  1806. # will have '-' and a link labeled "[IMAGE]" for the resolved SRC appended.
  1807. # See also VERBOSE_IMAGES flag.
  1808. #
  1809. # The definition here will override that in userdefs.h
  1810. # and can be toggled via an "-image_links" command-line switch.
  1811. # The user can also use the LYK_IMAGE_TOGGLE key (default `*')
  1812. # or `Show Images' in the Form-based Options Menu.
  1813. #
  1814. #MAKE_LINKS_FOR_ALL_IMAGES:FALSE
  1815.  
  1816. .h2 MAKE_PSEUDO_ALTS_FOR_INLINES
  1817. # If MAKE_PSEUDO_ALTS_FOR_INLINES is FALSE, inline images which don't specify
  1818. # an ALT string will not have "[INLINE]" inserted as a pseudo-ALT,
  1819. # i.e. they'll be treated as having ALT="".
  1820. # Otherwise (if TRUE), pseudo-ALTs will be created for inlines,
  1821. # so that they can be used as links to the SRCs.
  1822. # See also VERBOSE_IMAGES flag.
  1823. #
  1824. # The definition here will override that in userdefs.h
  1825. # and can be toggled via a "-pseudo_inlines" command-line switch.
  1826. # The user can also use the LYK_INLINE_TOGGLE key (default `[')
  1827. # or `Show Images' in the Form-based Options Menu.
  1828. #
  1829. #MAKE_PSEUDO_ALTS_FOR_INLINES:TRUE
  1830.  
  1831.  
  1832. .h2 SUBSTITUTE_UNDERSCORES
  1833. # If SUBSTITUTE_UNDERSCORES is TRUE, the _underline_ format will be used
  1834. # for emphasis tags in dumps.
  1835. #
  1836. # The default defined here will override that in userdefs.h, and the user
  1837. # can toggle the default via a "-underscore" command line switch.
  1838. #
  1839. #SUBSTITUTE_UNDERSCORES:FALSE
  1840.  
  1841.  
  1842. .h1 Interaction
  1843.  
  1844. .h2 QUIT_DEFAULT_YES
  1845. # If QUIT_DEFAULT_YES is TRUE then when the QUIT command is entered, any
  1846. # response other than n or N will confirm.  It should be FALSE if you
  1847. # prefer the more conservative action of requiring an explicit Y or y to
  1848. # confirm.  The default defined here will override that in userdefs.h.
  1849. #
  1850. #QUIT_DEFAULT_YES:TRUE
  1851.  
  1852.  
  1853. .h1 HTML Parsing
  1854.  
  1855. .h2 HISTORICAL_COMMENTS
  1856. # If HISTORICAL_COMMENTS is TRUE, Lynx will revert to the "Historical"
  1857. # behavior of treating any '>' as a terminator for comments, instead of
  1858. # seeking a valid '-->' terminator (note that white space can be present
  1859. # between the '--' and '>' in valid terminators).  The compilation default
  1860. # is FALSE.
  1861. #
  1862. # The compilation default, or default defined here, can be toggled via a
  1863. # "-historical" command line switch, and via the LYK_HISTORICAL command key.
  1864. #
  1865. #HISTORICAL_COMMENTS:FALSE
  1866.  
  1867.  
  1868. .h2 MINIMAL_COMMENTS
  1869. # If MINIMAL_COMMENTS is TRUE, Lynx will not use Valid comment parsing
  1870. # of '--' pairs as serial comments within an overall comment element,
  1871. # and instead will seek only a '-->' terminator for the overall comment
  1872. # element.  This emulates the Netscape v2.0 comment parsing bug, and
  1873. # will help Lynx cope with the use of dashes as "decorations", which
  1874. # consequently has become common in so-called "Enhanced for Netscape"
  1875. # pages.  Note that setting Historical comments on will override the
  1876. # Minimal or Valid setting.
  1877. #
  1878. # The compilation default for MINIMAL_COMMENTS is FALSE, but we'll
  1879. # set it TRUE here, until Netscape gets its comment parsing right,
  1880. # and "decorative" dashes cease to be so common.
  1881. #
  1882. # The compilation default, or default defined here, can be toggled via a
  1883. # "-minimal" command line switch, and via the LYK_MINIMAL command key.
  1884. #
  1885. MINIMAL_COMMENTS:TRUE
  1886.  
  1887.  
  1888. .h2 SOFT_DQUOTES
  1889. # If SOFT_DQUOTES is TRUE, Lynx will emulate the invalid behavior of
  1890. # treating '>' as a co-terminator of a double-quoted attribute value
  1891. # and the tag which contains it, as was done in old versions of Netscape
  1892. # and Mosaic.  The compilation default is FALSE.
  1893. #
  1894. # The compilation default, or default defined here, can be toggled via
  1895. # a "-soft_dquotes" command line switch.
  1896. #
  1897. #SOFT_DQUOTES:FALSE
  1898.  
  1899.  
  1900. .h2 STRIP_DOTDOT_URLS
  1901. # If STRIP_DOTDOT_URLS is TRUE, Lynx emulates the invalid behavior of many
  1902. # browsers to strip a leading "../" segment from relative URLs in HTML
  1903. # documents with a http or https base URL, if this would otherwise lead to
  1904. # an absolute URLs with those characters still in it.  Such URLs are normally
  1905. # erroneous and not what is intended by page authors.  Lynx will issue
  1906. # a warning message when this occurs.
  1907. #
  1908. # If STRIP_DOTDOT_URLS is FALSE, Lynx will use those URLs for requests
  1909. # without taking any special actions or issuing Warnings, in most cases
  1910. # this will result in an error response from the server.
  1911. #
  1912. # Note that Lynx never tries to fix similar URLs for protocols other than
  1913. # http and https, since they are less common and may actually be valid in
  1914. # some cases.
  1915. #
  1916. #STRIP_DOTDOT_URLS:TRUE
  1917.  
  1918.  
  1919. .h1 Appearance
  1920.  
  1921. .h2 ENABLE_SCROLLBACK
  1922. # If ENABLE_SCROLLBACK is TRUE, Lynx will clear the entire screen before
  1923. # displaying each new screenful of text.  Though less efficient for normal
  1924. # use, this allows programs that maintain a buffer of previously-displayed
  1925. # text to recognize the continuity of what has been displayed, so that
  1926. # previous screenfuls can be reviewed by whatever method the program uses
  1927. # to scroll back through previous text.  For example, the PC comm program
  1928. # QModem has a key that can be pressed to scroll back; if ENABLE_SCROLLBACK
  1929. # is TRUE, pressing the scrollback key will access previous screenfuls which
  1930. # will have been stored on the local PC and will therefore be displayed
  1931. # instantaneously, instead of needing to be retransmitted by Lynx at the
  1932. # speed of the comm connection (but Lynx will not know about the change,
  1933. # so you must restore the last screen before resuming with Lynx commands).
  1934. #
  1935. # The compilation default is FALSE (if REVERSE_CLEAR_SCREEN_PROBLEM was not
  1936. # defined in the Unix Makefile to invoke this behavior as a workaround for
  1937. # some poor curses implementations).
  1938. #
  1939. # The default compilation or configuration setting can be toggled via an
  1940. # "-enable_scrollback" command line switch.
  1941. #
  1942. #ENABLE_SCROLLBACK:FALSE
  1943.  
  1944.  
  1945. .h2 SCAN_FOR_BURIED_NEWS_REFS
  1946. # If SCAN_FOR_BURIED_NEWS_REFS is set to TRUE, Lynx will scan the bodies
  1947. # of news articles for buried article and URL references and convert them
  1948. # to links.  The compilation default is TRUE, but some email addresses
  1949. # enclosed in angle brackets ("<user@address>") might be converted to false
  1950. # news links, and uuencoded messages might be corrupted.  The conversion is
  1951. # not done when the display is toggled to source or when 'd'ownloading, so
  1952. # uuencoded articles can be saved intact regardless of these settings.
  1953. #
  1954. # The default setting can be toggled via a "-buried_news" command line
  1955. # switch.
  1956. #
  1957. #SCAN_FOR_BURIED_NEWS_REFS:TRUE
  1958.  
  1959.  
  1960. .h2 PREPEND_BASE_TO_SOURCE
  1961. # If PREPEND_BASE_TO_SOURCE is set to FALSE, Lynx will not prepend a
  1962. # Request URL comment and BASE element to text/html source files when
  1963. # they are retrieved for 'd'ownloading or passed to 'p'rint functions.
  1964. # The compilation default is TRUE.  Note that this prepending is not
  1965. # done for -source dumps, unless the -base switch also was included on
  1966. # the command line, and the latter switch overrides the setting of the
  1967. # PREPEND_BASE_TO_SOURCE configuration variable.
  1968. #
  1969. #PREPEND_BASE_TO_SOURCE:TRUE
  1970.  
  1971.  
  1972. # MIME types and viewers!
  1973. #
  1974. # file extensions may be assigned to MIME types using
  1975. # the SUFFIX: definition.
  1976. #
  1977. # NOTE: It is normally preferable to define new extension mappings in
  1978. #       EXTENSION_MAP files (see below) instead of here:  Definitions
  1979. #       here are overridden by those in EXTENSION_MAP files and even by
  1980. #       some built-in defaults in src/HTInit.c.  On the other hand,
  1981. #       definitions here allow some more fields that are not possible
  1982. #       in those files.
  1983. #
  1984. #       Extension mappings have an effect mostly for ftp and local files,
  1985. #       they are NOT used to determine the type of content for URLs with
  1986. #       the http protocol.  This is because HTTP servers already specify
  1987. #       the MIME type in the Content-Type header.  [It may still be
  1988. #       necessary to set up an appropriate suffix for some MIME types,
  1989. #       even if they are accessed only via the HTTP protocol, if the viewer
  1990. #       (see below) for those MIME types requires a certain suffix for the
  1991. #       temporary file passed to it.]
  1992.  
  1993.  
  1994. .h1 External Programs
  1995.  
  1996. .h2 GLOBAL_EXTENSION_MAP
  1997. .h2 PERSONAL_EXTENSION_MAP
  1998. # The global and personal EXTENSION_MAP files allow you to assign extensions
  1999. # to MIME types which will override any of the suffix maps in this (lynx.cfg)
  2000. # configuration file, or in src/HTInit.c.  See the example mime.types file
  2001. # in the samples subdirectory.
  2002. #
  2003. # Unix:
  2004. # ====
  2005. #GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
  2006. # VMS:
  2007. # ===
  2008. #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
  2009. #
  2010. #    Unix (sought in user's home directory):
  2011. #PERSONAL_EXTENSION_MAP:.mime.types
  2012. #    VMS (sought in user's sys$login directory):
  2013. #PERSONAL_EXTENSION_MAP:mime.types
  2014.  
  2015.  
  2016. .h2 SUFFIX_ORDER
  2017. # With SUFFIX_ORDER the precedence of suffix mappings can be changed.
  2018. # Two kinds of settings are recognized:
  2019. #
  2020. #    PRECEDENCE_OTHER or PRECEDENCE_HERE
  2021. #      Suffix mappings can come from four sources: (1) SUFFIX rules
  2022. #      given here - see below, (2) builtin defaults (HTInit.c), and the
  2023. #      (3) GLOBAL_EXTENSION_MAP and (4) PERSONAL_EXTENSION_MAP files.
  2024. #      The order of precedence is normally as listed: (1) has the
  2025. #      *lowest*, (4) has the *highest* precedence if there are conflicts.
  2026. #      In other words, SUFFIX mappings here are overridden by conflicting
  2027. #      ones elsewhere.  This default ordering is called PRECEDENCE_OTHER.
  2028. #      With PRECEDENCE_HERE, the order becomes (2) (3) (4) (1), i.e.
  2029. #      mappings here override others made elsewhere.
  2030. #
  2031. #    NO_BUILTIN
  2032. #      This disables all builtin default rules.  In other words, (2) in the
  2033. #      list above is skipped.  Some recognition for compressed files (".gz",
  2034. #      ".Z") is still hardwired.   A mapping for some basic types, at least
  2035. #      for text/html is probably necessary to get a usable configuration,
  2036. #      it can be given in a SUFFIX rule below or an extension map file.
  2037. # Both kinds of settings can be combined, separated by comma as in
  2038. #        SUFFIX_ORDER:PRECEDENCE_HERE,NO_BUILTIN
  2039. # Note: Using PRECEDENCE_HERE has only an effect on SUFFIX rules that follow.
  2040. # Moreover, if GLOBAL_EXTENSION_MAP or PERSONAL_EXTENSION_MAP directives
  2041. # are used, they should come *before* a SUFFIX_ORDER:PRECEDENCE_HERE.
  2042. #
  2043. #SUFFIX_ORDER:PRECEDENCE_OTHER
  2044.  
  2045.  
  2046. .h2 SUFFIX
  2047. # The SUFFIX definition takes the form of:
  2048. #
  2049. #    SUFFIX:<file extension>:<mime type>:<encoding>:<quality>:<description>
  2050. #
  2051. # All fields after <mime type> are optional (including the separators
  2052. # if no more fields follow).
  2053. #
  2054. #     <file extension> trailing end of file name.  This need not strictly
  2055. #                      be a file extension as understood by the OS, a dot
  2056. #                      has to be given explicitly if it is indented, for
  2057. #                      some uses one could even match full filenames here.
  2058. #                      In addition, two forms are special: "*.*" and "*"
  2059. #                      refer to the defaults for otherwise unmatched files
  2060. #                      (the first for filenames with a dot somewhere in
  2061. #                      the name, the second without), these are currently
  2062. #                      mapped to text/plain in the (HTInit.c) builtin code.
  2063. #
  2064. #     <mime type> a MIME content type.  It can also contain a charset
  2065. #                 parameter, see example below.  This should be given in
  2066. #                 all lowercase, use <description> for more fancy labels.
  2067. #                 It can be left empty if an HTTP style encoding is given.
  2068. #
  2069. # Fields in addition to the usual ones are
  2070. #
  2071. #     <encoding>  either a mail style trivial encoding (7bit, 8bit, binary)
  2072. #                 which could be used on some systems to determine how to
  2073. #                 open local files (currently it isn't), and is used to
  2074. #                 determine transfer mode for some FTP URLs; or a HTTP style
  2075. #                 content encoding (gzip (equivalent to x-gzip), compress)
  2076. #
  2077. #     <quality> a floating point quality factor, usually between 0.0 and 1.0
  2078. #               currently unused in most situations.
  2079. #
  2080. #     <description> text that can appear in FTP directory listings, and in
  2081. #                   local directory listings (see LIST_FORMAT, code %t)
  2082. #
  2083. # For instance the following definition maps the
  2084. # extension ".gif" to the mime type "image/gif"
  2085. .ex
  2086. #    SUFFIX:.gif:image/gif
  2087. #
  2088. # The following can be used if you have a convention to label
  2089. # HTML files in some character set that differs from your local
  2090. # default (see also ASSUME_LOCAL_CHARSET) with a different
  2091. # extension, here ".html-u8".  It also demonstrates use of the
  2092. # description field, note extra separators for omitted fields:
  2093. .ex
  2094. #    SUFFIX:.html-u8:text/html;charset=utf-8:::UTF-8 HTML
  2095. #
  2096. # The following shows how a suffix can indicate a combination
  2097. # of MIME type and compression method. (The ending ".ps.gz" should
  2098. # already be recognized by default; the form below could be used on
  2099. # systems that don't allow more than one dot in filenames.)
  2100. .ex
  2101. #    SUFFIX:.ps_gz:application/postscript:gzip::gzip'd Postscript
  2102. #
  2103. # The following is meant to match a full filename (but can match
  2104. # any file ending in "core", so be careful):
  2105. .ex
  2106. #    SUFFIX:core:application/x-core-file
  2107. #
  2108. # file suffixes are case INsensitive!
  2109. #
  2110. # The suffix definitions listed here in the default lynx.cfg file are
  2111. # similar to those normally established via src/HTInit.c.  You can change
  2112. # the defaults by editing that file or disable them, or via the global or
  2113. # personal mime.types files at run time (except for the additional fields).
  2114. # Assignments made here are overridden by entries in those files
  2115. # unless preceded with a SUFFIX_ORDER:PRECEDENCE_HERE.
  2116. #
  2117. .ex 29
  2118. #SUFFIX:.ps:application/postscript
  2119. #SUFFIX:.eps:application/postscript
  2120. #SUFFIX:.ai:application/postscript
  2121. #SUFFIX:.rtf:application/rtf
  2122. #SUFFIX:.snd:audio/basic
  2123. #SUFFIX:.gif:image/gif
  2124. #SUFFIX:.rgb:image/x-rgb
  2125. #SUFFIX:.png:image/png
  2126. #SUFFIX:.xbm:image/x-xbitmap
  2127. #SUFFIX:.tiff:image/tiff
  2128. #SUFFIX:.jpg:image/jpeg
  2129. #SUFFIX:.jpeg:image/jpeg
  2130. #SUFFIX:.mpg:video/mpeg
  2131. #SUFFIX:.mpeg:video/mpeg
  2132. #SUFFIX:.mov:video/quicktime
  2133. #SUFFIX:.hqx:application/mac-binhex40
  2134. #SUFFIX:.bin:application/octet-stream
  2135. #SUFFIX:.exe:application/octet-stream
  2136. #SUFFIX:.tar:application/x-tar
  2137. #SUFFIX:.tgz:application/x-tar:gzip
  2138. #SUFFIX:.Z::compress
  2139. #SUFFIX:.gz::gzip
  2140. #SUFFIX:.bz2:application/x-bzip2
  2141. #SUFFIX:.zip:application/zip
  2142. #SUFFIX:.lzh:application/x-lzh
  2143. #SUFFIX:.lha:application/x-lha
  2144. #SUFFIX:.dms:application/x-dms
  2145. #SUFFIX:.html:text/html
  2146. #SUFFIX:.txt:text/plain
  2147.  
  2148.  
  2149. .h2 XLOADIMAGE_COMMAND
  2150. # VMS:
  2151. # ====
  2152. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c
  2153. # for viewing image content types when the DECW$DISPLAY logical
  2154. # is set.  Make it the foreign command for your system's X image
  2155. # viewer (commonly, "xv").  It can be anything that will handle GIF,
  2156. # TIFF and other popular image formats.  Freeware ports of xv for
  2157. # VMS are available in the ftp://ftp.wku.edu/vms/unsupported and
  2158. # http://www.openvms.digital.com/cd/XV310A/ subdirectories.  You
  2159. # must also have a "%s" for the filename.  The default is defined
  2160. # in userdefs.h and can be overridden here, or via the global or
  2161. # personal mailcap files (see below).
  2162. #
  2163. # Make this empty (but no commented out) if you don't have such a
  2164. # viewer or don't want to disable the built-in default viewer
  2165. # mappings for image types.
  2166. #
  2167. #XLOADIMAGE_COMMAND:xv %s
  2168.  
  2169. # Unix:
  2170. # =====
  2171. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
  2172. # viewing image content types when the DISPLAY environment variable
  2173. # is set.  Make it the full path and name of the xli (also know as
  2174. # xloadimage or xview) command, or other image viewer.  It can be
  2175. # anything that will handle GIF, TIFF and other popular image formats
  2176. # (xli does).  The freeware distribution of xli is available in the
  2177. # ftp://ftp.x.org/contrib subdirectory.  The shareware, xv, also is
  2178. # suitable.  You must also have a "%s" for the filename; "&" for
  2179. # background is optional.  The default is defined in userdefs.h and can be
  2180. # overridden here, or via the global or personal mailcap files (see below).
  2181. # Make this empty (but not commented out) if you don't have such a
  2182. # viewer or don't want to disable the built-in default viewer
  2183. # mappings for image types.
  2184. # Note that open is used as the default for NeXT, instead of the
  2185. # XLOADIMAGE_COMMAND definition.
  2186. # If you use xli, you may want to add the -quiet flag.
  2187. #
  2188. #XLOADIMAGE_COMMAND:xli %s &
  2189.  
  2190. .h2 VIEWER
  2191. # MIME types may be assigned to external viewers using
  2192. # the VIEWER definition.
  2193. #
  2194. # NOTE: if you do not define a viewer to a new MIME type
  2195. #       that you assigned above then it will be saved to
  2196. #       disk by default.
  2197. #       It is normally preferable to define new viewers in
  2198. #       MAILCAP files (see below) instead of here:  Definitions
  2199. #       here are overridden by those in MAILCAP files and even
  2200. #       by some built-in defaults in src/HTInit.c.
  2201. #
  2202. # The VIEWER definition takes the form of:
  2203. #    VIEWER:<mime type>:<viewer command>[:environment]
  2204. #      where -mime type is the MIME content type of the file
  2205. #         -viewer command is a system command that can be
  2206. #             used to display the file where %s is replaced
  2207. #             within the command with the physical filename
  2208. #             (e.g., "ghostview %s" becomes "ghostview /tmp/temppsfile")
  2209. #            -environment is optional.  The only valid keywords
  2210. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS
  2211. #             environment is specified then the viewer will only be
  2212. #             defined when the user has the environment variable DISPLAY
  2213. #             (DECW$DISPLAY on VMS) defined.  If the NON_XWINDOWS environment
  2214. #             is specified the specified viewer will only be defined when the
  2215. #             user DOES NOT have the environment variable DISPLAY defined.
  2216. #  examples:
  2217. #        VIEWER:image/gif:xli %s:XWINDOWS
  2218. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  2219. #               VIEWER:application/start-elm:elm
  2220. #
  2221. # You must put the whole definition on one line.
  2222. #
  2223. # If you must use a colon in the viewer command, precede it with a backslash!
  2224. #
  2225. # The MIME_type:viewer:XWINDOWS definitions listed here in the lynx.cfg
  2226. # file are among those established via src/HTInit.c.  For the image types,
  2227. # HTInit.c uses the XLOADIMAGE_COMMAND definition in userdefs.h or above
  2228. # (open is used for NeXT).  You can change any of these defaults via the
  2229. # global or personal mailcap files.  Assignments made here will be overridden
  2230. # by entries in those files.
  2231. #
  2232. .ex 7
  2233. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  2234. #VIEWER:image/gif:xli %s&:XWINDOWS
  2235. #VIEWER:image/x-xbm:xli %s&:XWINDOWS
  2236. #VIEWER:image/png:xli %s&:XWINDOWS
  2237. #VIEWER:image/tiff:xli %s&:XWINDOWS
  2238. #VIEWER:image/jpeg:xli %s&:XWINDOWS
  2239. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  2240.  
  2241.  
  2242. .h2 GLOBAL_MAILCAP
  2243. .h2 PERSONAL_MAILCAP
  2244. # The global and personal MAILCAP files allow you to specify external
  2245. # viewers to be spawned when Lynx encounters different MIME types, which
  2246. # will override any of the suffix maps in this (lynx.cfg) configuration
  2247. # file, or in src/HTInit.c.  See http://www.internic.net/rfc/rfc1524.txt
  2248. # and the example mailcap file in the samples subdirectory.
  2249. #
  2250. # Unix:
  2251. # ====
  2252. #GLOBAL_MAILCAP:/usr/local/lib/mosaic/mailcap
  2253. # VMS:
  2254. # ===
  2255. #GLOBAL_MAILCAP:Lynx_Dir:mailcap
  2256. #
  2257. #     Sought in user's home (Unix) or sys$login (VMS) directory.
  2258. #PERSONAL_MAILCAP:.mailcap
  2259.  
  2260.  
  2261. .h1 Keyboard Input
  2262.  
  2263. .h2 KEYBOARD_LAYOUT
  2264. # If your terminal (or terminal emulator, or operating system) does not
  2265. # support 8-bit input (at all or in easy way), you can use Lynx to
  2266. # generate 8-bit characters from 7-bit ones output by terminal.
  2267. #
  2268. # Currently available keyboard layouts:
  2269. #    ROT13'd keyboard layout
  2270. #    JCUKEN Cyrillic, for AT 101-key kbd
  2271. #    YAWERTY Cyrillic, for DEC LK201 kbd
  2272. #
  2273. # This feature is ifdef'd with EXP_KEYBOARD_LAYOUT.
  2274. #KEYBOARD_LAYOUT:JCUKEN Cyrillic, for AT 101-key kbd
  2275.  
  2276.  
  2277. .h2 KEYMAP
  2278. # Key remapping definitions!
  2279. #
  2280. # You may redefine the keymapping of any function in Lynx by
  2281. # using the KEYMAP option.  The basic form of KEYMAP is:
  2282. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  2283. # (See below for an extended format.)
  2284. #
  2285. # You must map upper and lowercase keys separately.
  2286. #
  2287. # A representative list of functions mapped to their default keys is
  2288. # provided below.  All of the mappings are commented out by default
  2289. # since they just repeat the default mappings, except for TOGGLE_HELP
  2290. # (see below).  See LYKeymap.c for the complete key mapping.  Use the
  2291. # 'K'eymap command when running Lynx for a list of the _current_ keymappings.
  2292. #
  2293. # (However, in contrast to the output of 'K' command,
  2294. # 'H'elp (lynx_help/*.html and lynx_help/keystrokes/*.html files) shows
  2295. # the default mapping unless you change that files manually,
  2296. # so you are responsible for possible deviations
  2297. # when you are changing any KEYMAP below).
  2298. .nf
  2299. #
  2300. # Keystrokes for special keys are represented by the following codes:
  2301. #         Up Arrow: 0x100
  2302. #       Down Arrow: 0x101
  2303. #      Right Arrow: 0x102
  2304. #       Left Arrow: 0x103
  2305. #        Page Down: 0x104
  2306. #          Page Up: 0x105
  2307. #      Keypad Home: 0x106 (see also 0x10A)
  2308. #       Keypad End: 0x107 (see also 0x10B)
  2309. #   Function key 1: 0x108
  2310. # vt100   Help Key: 0x108
  2311. # vt100     Do Key: 0x109
  2312. # vt100   Find Key: 0x10A (The key with label "Home" may be treated as Find)
  2313. # vt100 Select Key: 0x10B (The key with label "End" may be treated as Select)
  2314. #       Insert Key: 0x10C
  2315. # Remove (Del) Key: 0x10D
  2316. #      ignored key  0x10E (reserved for internal use, DO_NOTHING)
  2317. # Back (Shift) Tab: 0x10F
  2318. #    reserved code  0x11D (reserved for internal use with -use_mouse)
  2319. #    reserved code  0x290 (reserved for internal use with -use_mouse)
  2320. #
  2321. .fi
  2322. # Other codes not listed above may be available for additional keys,
  2323. # depending on operating system and libraries used to compile Lynx.
  2324. # On some systems, if compiled with recent versions of slang or ncurses
  2325. # (if macro USE_KEYMAPS was in effect during compilation), an additional
  2326. # level of key mapping is supported via an external ".lynx-keymaps" file.
  2327. # This file, if found in the home directory at startup, will always be
  2328. # used under those conditions; see lynx-keymaps distributed in the samples
  2329. # subdirectory for further explanation.  Note that mapping via
  2330. # .lynx-keymaps, if applicable, is a step that logically comes before the
  2331. # mappings done here: KEYMAP maps the result of that step (which still
  2332. # represents a key) to a function (which represents an action that Lynx
  2333. # should perform).
  2334. #
  2335. .nf
  2336. #KEYMAP:0x5C:SOURCE        # Toggle source viewing mode (show HTML source)
  2337. #KEYMAP:^R:RELOAD        # Reload the current document and redisplay
  2338. #KEYMAP:q:QUIT            # Ask the user to quit
  2339. #KEYMAP:Q:ABORT            # Quit without verification
  2340. #KEYMAP:0x20:NEXT_PAGE        # Move down to next page
  2341. #KEYMAP:-:PREV_PAGE        # Move up to previous page
  2342. #KEYMAP:^P:UP_TWO        # Move display up two lines
  2343. #KEYMAP:0x10C:UP_TWO        # Function key Insert - Move display up two lines
  2344. #KEYMAP:^N:DOWN_TWO        # Move display down two lines
  2345. #KEYMAP:0x10D:DOWN_TWO        # Function key Remove - Move display down two lines
  2346. #KEYMAP:(:UP_HALF        # Move display up half a page
  2347. #KEYMAP:):DOWN_HALF        # Move display down half a page
  2348. #KEYMAP:^W:REFRESH        # Refresh the screen
  2349. #KEYMAP:^A:HOME            # Go to top of current document
  2350. #KEYMAP:0x106:HOME        # Keypad Home - Go to top of current document
  2351. #KEYMAP:0x10A:HOME        # Function key Find - Go to top of current document
  2352. #KEYMAP:^E:END            # Go to bottom of current document
  2353. #KEYMAP:0x107:END        # Keypad End - Go to bottom of current document
  2354. #KEYMAP:0x10B:END        # Function key Select - Go to bottom of current document
  2355. #KEYMAP:0x100:PREV_LINK        # Move to the previous link or page
  2356. #KEYMAP:0x101:NEXT_LINK        # Move to the next link or page
  2357. #KEYMAP:0x10F:FASTBACKW_LINK     # Back Tab - Move to previous link or text area
  2358. #KEYMAP:^I:FASTFORW_LINK    # Tab key - Move always to next link or text area
  2359. #KEYMAP:^:FIRST_LINK        # Move to the first link on line
  2360. #KEYMAP:$:LAST_LINK        # Move to the last link on line
  2361. #KEYMAP:<:UP_LINK        # Move to the link above
  2362. #KEYMAP:>:DOWN_LINK        # Move to the link below
  2363. #KEYMAP:0x7F:HISTORY        # Show the history list
  2364. #KEYMAP:0x08:HISTORY        # Show the history list
  2365. #KEYMAP:0x103:PREV_DOC        # Return to the previous document in history stack
  2366. #KEYMAP:0x102:ACTIVATE        # Select the current link
  2367. #KEYMAP:0x109:ACTIVATE        # Function key Do - Select the current link
  2368. #KEYMAP:g:GOTO            # Goto a random URL
  2369. #KEYMAP:G:ECGOTO        # Edit the current document's URL and go to it
  2370. #KEYMAP:H:HELP            # Show default help screen
  2371. #KEYMAP:0x108:DWIMHELP        # Function key Help - Show a help screen
  2372. #KEYMAP:i:INDEX            # Show default index
  2373. #*** Edit FORM_LINK_* messages in LYMessages_en.h if you change NOCACHE ***
  2374. #KEYMAP:x:NOCACHE        # Force submission of form or link with no-cache
  2375. #*** Do not change INTERRUPT from 'z' & 'Z' ***
  2376. #KEYMAP:z:INTERRUPT        # Interrupt network transmission
  2377. #KEYMAP:m:MAIN_MENU        # Return to the main menu
  2378. #KEYMAP:o:OPTIONS        # Show the options menu
  2379. #KEYMAP:i:INDEX_SEARCH        # Search a server based index
  2380. #KEYMAP:/:WHEREIS        # Find a string within the current document
  2381. #KEYMAP:n:NEXT            # Find next occurrence of string within document
  2382. #KEYMAP:c:COMMENT        # Comment to the author of the current document
  2383. #KEYMAP:C:CHDIR            # Change current directory
  2384. #KEYMAP:e:EDIT            # Edit current document or form's textarea (call: ^Ve)
  2385. #KEYMAP:E:ELGOTO        # Edit the current link's URL or ACTION and go to it
  2386. #KEYMAP:=:INFO            # Show info about current document
  2387. #KEYMAP:p:PRINT            # Show print options
  2388. #KEYMAP:a:ADD_BOOKMARK        # Add current document to bookmark list
  2389. #KEYMAP:v:VIEW_BOOKMARK        # View the bookmark list
  2390. #KEYMAP:V:VLINKS        # List links visited during the current Lynx session
  2391. #KEYMAP:!:SHELL            # Spawn default shell
  2392. #KEYMAP:d:DOWNLOAD        # Download current link
  2393. #KEYMAP:j:JUMP            # Jump to a predefined target
  2394. #KEYMAP:k:KEYMAP        # Display the current key map
  2395. #KEYMAP:l:LIST            # List the references (links) in the current document
  2396. #KEYMAP:#:TOOLBAR        # Go to the Toolbar or Banner in the current document
  2397. #KEYMAP:^T:TRACE_TOGGLE        # Toggle detailed tracing for debugging
  2398. #KEYMAP:;:TRACE_LOG        # View trace log if available for the current session
  2399. #KEYMAP:*:IMAGE_TOGGLE        # Toggle inclusion of links for all images
  2400. #KEYMAP:[:INLINE_TOGGLE        # Toggle pseudo-ALTs for inlines with no ALT string
  2401. #KEYMAP:]:HEAD            # Send a HEAD request for current document or link
  2402. #*** Must be compiled with USE_EXTERNALS to enable EXTERN_LINK, EXTERN_PAGE ***
  2403. #KEYMAP:,:EXTERN_PAGE        # Run external program with current page
  2404. #KEYMAP:.:EXTERN_LINK        # Run external program with current link
  2405. #*** Escaping from text input fields with ^V is independent from this: ***
  2406. #KEYMAP:^V:SWITCH_DTD        # Toggle between SortaSGML and TagSoup HTML parsing
  2407. #KEYMAP:0x00:DO_NOTHING        # Does nothing (ignore this key)
  2408. #KEYMAP:0x10E:DO_NOTHING    # Does nothing (ignore this key)
  2409. #KEYMAP:{:SHIFT_LEFT        # shift the screen left
  2410. #KEYMAP:}:SHIFT_RIGHT        # shift the screen right
  2411. #KEYMAP:|:LINEWRAP_TOGGLE    # toggle linewrap on/off, for shift-commands
  2412. #KEYMAP:~:NESTED_TABLES_TOGGLE    # toggle nested-tables parsing on/off
  2413. #
  2414. .fi
  2415. # In addition to the bindings available by default, the following functions
  2416. # are not directly mapped to any keys by default, although some of them may
  2417. # be mapped in specific line-editor bindings (effective while in text input
  2418. # fields):
  2419. .nf
  2420. #
  2421. #KEYMAP:???:RIGHT_LINK        # Move to the link to the right
  2422. #KEYMAP:???:LEFT_LINK        # Move to the link to the left
  2423. #KEYMAP:???:LPOS_PREV_LINK    # Like PREV_LINK, last column pos if form input
  2424. #KEYMAP:???:LPOS_NEXT_LINK    # Like NEXT_LINK, last column pos if form input
  2425. #*** Only useful in form text fields , need PASS or prefixing with ^V: ***
  2426. #KEYMAP:???:DWIMHELP        # Display help page that may depend on context
  2427. #KEYMAP:???:DWIMEDIT        # Use external editor for context-dependent purpose
  2428. #*** Only useful in a form textarea, need PASS or prefixing with ^V: ***
  2429. #KEYMAP:???:EDITTEXTAREA    # use external editor to edit a form textarea
  2430. #KEYMAP:???:GROWTEXTAREA    # Add some blank lines to bottom of textarea
  2431. #KEYMAP:???:INSERTFILE        # Insert file into a textarea (just above cursor)
  2432. #*** Only useful with dired support and OK_INSTALL: ***
  2433. #KEYMAP:???:INSTALL        # install (i.e. copy) local files to new location
  2434. .fi
  2435. #
  2436. # If TOGGLE_HELP is mapped, in novice mode the second help menu line
  2437. # can be toggled among NOVICE_LINE_TWO_A, _B, and _C, as defined in
  2438. # LYMessages_en.h  Otherwise, it will be NOVICE_LINE_TWO.
  2439. #
  2440. #KEYMAP:O:TOGGLE_HELP        # Show other commands in the novice help menu
  2441. #
  2442. # KEYMAP lines can have one or two additional fields.  The extended format is
  2443. #  KEYMAP:<KEYSTROKE>:[<MAIN LYNX FUNCTION>]:<OTHER BINDING>[:<SELECT>]
  2444. #
  2445. # If the additional field OTHER BINDING specifies DIRED, then the function is
  2446. # mapped in the override table used only in DIRED mode.  This is only valid
  2447. # if lynx was compiled with dired support and OK_OVERRIDE defined.  A
  2448. # MAIN LYNX FUNCTION must be given (it should of course be one that makes
  2449. # sense in Dired mode), and SELECT is meaningless.  Default built-in override
  2450. # mappings are
  2451. #
  2452. #KEYMAP:^U:PREV_DOC:DIRED    # Return to the previous document
  2453. #KEYMAP:.:TAG_LINK:DIRED    # Tag a file or directory for later action
  2454. #KEYMAP:c:CREATE:DIRED        # Create a new file or directory
  2455. #KEYMAP:C:CHDIR:DIRED        # change current directory
  2456. #KEYMAP:f:DIRED_MENU:DIRED    # Display a menu of file operations
  2457. #KEYMAP:m:MODIFY:DIRED        # Modify name or location of a file or directory
  2458. #KEYMAP:r:REMOVE:DIRED        # Remove files or directories
  2459. #KEYMAP:t:TAG_LINK:DIRED    # Tag a file or directory for later action
  2460. #KEYMAP:u:UPLOAD:DIRED        # Show menu of "Upload Options"
  2461. #
  2462. # If the OTHER BINDING field does not specify DIRED, then it is taken as a
  2463. # line-editor action.  It is possible to keep the MAIN LYNX FUNCTION field
  2464. # empty in that case, for changing only the line-editing behavior.
  2465. # If alternative line edit styles are compiled in, and modifying a key's
  2466. # line-editor binding on a per style basis is possible, then SELECT can be
  2467. # used to specify which styles are affected.  By default, or if SELECT is
  2468. # 0, all line edit styles are affected.  If SELECT is a positive integer
  2469. # number, only the binding for the numbered style is changed (numbering
  2470. # is in the order in which styles are shown in the Options Menu, starting
  2471. # with 1 for the Default style).  If SELECT is negative (-n), all styles
  2472. # except n are affected.
  2473. .nf
  2474. #
  2475. #  NOP        # Do Nothing
  2476. #  ABORT    # Input cancelled
  2477. #
  2478. #  BOL        # Go to begin of line
  2479. #  EOL        # Go to end   of line
  2480. #  FORW        # Cursor forwards
  2481. #  FORW_RL    # Cursor forwards or right link
  2482. #  BACK        # Cursor backwards
  2483. #  FORWW    # Word forward
  2484. #  BACKW    # Word back
  2485. #  BACK_LL    # Cursor backwards or left link
  2486. #
  2487. #  DELN        # Delete next/curr char
  2488. #  DELP        # Delete prev      char
  2489. #  DELNW    # Delete next word
  2490. #  DELPW    # Delete prev word
  2491. #  DELBL    # Delete back to BOL
  2492. #  DELEL    # Delete thru EOL
  2493. #  ERASE    # Erase the line
  2494. #  LOWER    # Lower case the line
  2495. #  UPPER    # Upper case the line
  2496. #
  2497. #  LKCMD    # In fields: Invoke key command prompt (default for ^V)
  2498. #  PASS        # In fields: handle as non-lineedit key; in prompts: ignore
  2499. #
  2500. .fi
  2501. # Modify following key (prefixing only works within line-editing, edit actions
  2502. # of some resulting prefixed keys are built-in, see Line Editor help pages)
  2503. #  SETM1    # Set modifier 1 flag (default for ^X - key prefix)
  2504. #  SETM2    # Set modifier 2 flag (another key prefix - same effect)
  2505. #
  2506. # May not always be compiled in:
  2507. .nf
  2508. #
  2509. #  TPOS        # Transpose characters
  2510. #  SETMARK    # emacs-like set-mark-command
  2511. #  XPMARK    # emacs-like exchange-point-and-mark
  2512. #  KILLREG    # emacs-like kill-region
  2513. #  YANK        # emacs-like yank
  2514. #  SWMAP    # Switch input keymap
  2515. #  PASTE    # ClipBoard to Lynx - Windows Extension
  2516. #
  2517. .fi
  2518. # May work differently from expected if not bound to their expected keys:
  2519. .nf
  2520. #
  2521. #  CHAR        # Insert printable char (default for all ASCII printable)
  2522. #  ENTER    # Input complete, return char/lynxkeycode (for RETURN/ENTER)
  2523. #  TAB        # Input complete, return TAB (for ASCII TAB char ^I)
  2524. #
  2525. .fi
  2526. # Internal use, probably not useful for binding, listed for completeness:
  2527. .nf
  2528. #
  2529. #  UNMOD    # Fall back to no-modifier command
  2530. #  AIX        # Hex 97
  2531. #  C1CHAR    # Insert C1 char if printable
  2532. #
  2533. .fi
  2534. # If OTHER BINDING specifies PASS, then if the key is pressed in a text input
  2535. # field it is passed by the built-in line-editor to normal KEYMAP handling,
  2536. # i.e. this flag acts like an implied ^V escape (always overrides line-editor
  2537. # behavior of the key).  For example,
  2538. #KEYMAP:0x10C:UP_TWO:PASS # Function key Insert - Move display up two lines
  2539. #
  2540. # Other examples (repeating built-in bindings)
  2541. #KEYMAP:^V::LKCMD    # set (only) line-edit action for ^V
  2542. #KEYMAP:^V:SWITCH_DTD:LKCMD # set main lynxaction and line-edit action for ^V
  2543. #KEYMAP:^U::ERASE:1    # set line-edit binding for ^U, for default style
  2544. #KEYMAP:^[::SETM2:3    # use escape key as modifier - works only sometimes
  2545.  
  2546.  
  2547. .h1 External Programs
  2548. # These settings control the ability of Lynx to invoke various programs for
  2549. # the user.
  2550.  
  2551. .h2 CSWING_PATH
  2552. # VMS ONLY:
  2553. #==========
  2554. # On VMS, CSwing (an XTree emulation for VTxxx terminals) is intended for
  2555. # use as the Directory/File Manager (sources, objects, or executables are
  2556. # available from ftp://narnia.memst.edu/).  CSWING_PATH should be defined
  2557. # here or in userdefs.h to your foreign command for CSwing, with any
  2558. # regulatory switches you want included.  If not defined, or defined as
  2559. # a zero-length string ("") or "none" (case-insensitive), the support
  2560. # will be disabled.  It will also be disabled if the -nobrowse or
  2561. # -selective switches are used, or if the file_url restriction is set.
  2562. #
  2563. # When enabled, the DIRED_MENU command (normally 'f' or 'F') will invoke
  2564. # CSwing, normally with the current default directory as an argument to
  2565. # position the user on that node of the directory tree.  However, if the
  2566. # current document is a local directory listing, or a local file and not
  2567. # one of the temporary menu or list files, the associated directory will
  2568. # be passed as an argument, to position the user on that node of the tree.
  2569. #
  2570. #CSWING_PATH:swing
  2571.  
  2572.  
  2573. .h1 Internal Behavior
  2574.  
  2575. .h2 AUTO_UNCACHE_DIRLISTS
  2576. # AUTO_UNCACHE_DIRLISTS determines when local file directory listings are
  2577. # automatically regenerated (by re-reading the actual directory from disk).
  2578. # Set the value to 0 to avoid automatic regeneration in most cases.  This is
  2579. # useful for browsing large directories that take some time to read and format.
  2580. # An update can still always be forced with the RELOAD key, and specific DIRED
  2581. # actions may cause a refresh anyway.  Set the value to 1 to force regeneration
  2582. # after commands that usually change the directory or some files and would make
  2583. # the displayed info stale, like EDIT and REMOVE.  Set it to 2 (the default) or
  2584. # greater to force regeneration even after leaving the displayed directory
  2585. # listing by some action that usually causes no change, like GOTO or entering a
  2586. # file with the ACTIVATE key.  This option is only honored in DIRED mode (i.e.
  2587. # when lynx is compiled with DIRED_SUPPORT and it is not disabled with a
  2588. # -restriction).  Local directories displayed without DIRED normally act as if
  2589. # AUTO_UNCACHE_DIRLISTS:0 was in effect.
  2590. #
  2591. #AUTO_UNCACHE_DIRLISTS:2
  2592.  
  2593.  
  2594. .h1 Appearance
  2595.  
  2596. .h2 LIST_FORMAT
  2597. # Unix ONLY:
  2598. #===========
  2599. # LIST_FORMAT defines the display for local files when Lynx has been
  2600. # compiled with LONG_LIST defined in the Makefile.  The default is set
  2601. # in userdefs.h, normally to "ls -l" format, and can be changed here
  2602. # by uncommenting the indicated lines, or adding a definition with a
  2603. # modified parameter list.
  2604. #
  2605. # The percent items in the list are interpreted as follows:
  2606. .nf
  2607. #
  2608. #    %p    Unix-style permission bits
  2609. #    %l    link count
  2610. #    %o    owner of file
  2611. #    %g    group of file
  2612. #    %d    date of last modification
  2613. #    %a    anchor pointing to file or directory
  2614. #    %A    as above but don't show symbolic links
  2615. #    %t    type of file (description derived from MIME type)
  2616. #    %T    MIME type as known by Lynx (from mime.types or default)
  2617. #    %k    size of file in Kilobytes
  2618. #    %K    as above but omit size for directories
  2619. #    %s    size of file in bytes
  2620. #
  2621. .fi
  2622. # Anything between the percent and the letter is passed on to sprintf.
  2623. # A double percent yields a literal percent on output.  Other characters
  2624. # are passed through literally.
  2625. #
  2626. # If you want only the filename:
  2627. #
  2628. .ex
  2629. #LIST_FORMAT:    %a
  2630. #
  2631. # If you want a brief output:
  2632. #
  2633. .ex
  2634. #LIST_FORMAT:   %4K %-12.12d %a
  2635. #
  2636. # If you want the Unix "ls -l" format:
  2637. #
  2638. .ex
  2639. #LIST_FORMAT:    %p %4l %-8.8o %-8.8g %7s %-12.12d %a
  2640.  
  2641.  
  2642. .h1 External Programs
  2643.  
  2644. .h2 DIRED_MENU
  2645. # Unix ONLY:
  2646. #===========
  2647. # DIRED_MENU items are used to compose the F)ull menu list in DIRED mode
  2648. # The behavior of the default configuration given here is much the same
  2649. # as it was when this menu was hard-coded but these items can now be adjusted
  2650. # to suit local needs.  In particular, many of the LYNXDIRED actions can be
  2651. # replaced with lynxexec, lynxprog and lynxcgi script references.
  2652. #
  2653. # NOTE that defining even one DIRED_MENU line overrides all the built-in
  2654. # definitions, so a complete set must then be defined here.
  2655. #
  2656. # Each line consists of the following fields:
  2657. .nf
  2658. #
  2659. #    DIRED_MENU:type:suffix:link text:extra text:action
  2660. #
  2661. #    type: TAG:   list only when one or more files are tagged
  2662. #          FILE:  list only when the current selection is a regular file
  2663. #          DIR:   list only when the current selection is a directory
  2664. #          LINK:  list only when the current selection is a symbolic link
  2665. #
  2666. #    suffix:  list only if the current selection ends in this pattern
  2667. #
  2668. #    link text:  the displayed text of the link
  2669. #
  2670. #    extra text:  the text displayed following the link
  2671. #
  2672. #    action:  the URL to be followed upon selection
  2673. #
  2674. #    link text and action are scanned for % sequences that are expanded
  2675. #    at display time as follows:
  2676. #
  2677. #        %p  path of current selection
  2678. #        %f  filename (last component) of current selection
  2679. #        %t  tagged list (full paths)
  2680. #        %l  list of tagged file names
  2681. #        %d  the current directory
  2682. #
  2683. .fi
  2684. #DIRED_MENU:::New File:(in current directory):LYNXDIRED://NEW_FILE%d
  2685. #DIRED_MENU:::New Directory:(in current directory):LYNXDIRED://NEW_FOLDER%d
  2686.  
  2687. # Following depends on OK_INSTALL
  2688. #DIRED_MENU:FILE::Install:selected file to new location:LYNXDIRED://INSTALL_SRC%p
  2689. #DIRED_MENU:DIR::Install:selected directory to new location:LYNXDIRED://INSTALL_SRC%p
  2690.  
  2691. #DIRED_MENU:FILE::Modify File Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  2692. #DIRED_MENU:DIR::Modify Directory Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  2693. #DIRED_MENU:LINK::Modify Name:(of selected symbolic link):LYNXDIRED://MODIFY_NAME%p
  2694.  
  2695. # Following depends on OK_PERMIT
  2696. #DIRED_MENU:FILE::Modify File Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  2697. #DIRED_MENU:DIR::Modify Directory Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  2698.  
  2699. #DIRED_MENU:FILE::Change Location:(of selected file):LYNXDIRED://MODIFY_LOCATION%p
  2700. #DIRED_MENU:DIR::Change Location:(of selected directory):LYNXDIRED://MODIFY_LOCATION%p
  2701. #DIRED_MENU:LINK::Change Location:(of selected symbolic link):LYNXDIRED://MODIFY_LOCATION%p
  2702. #DIRED_MENU:FILE::Remove File:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2703. #DIRED_MENU:DIR::Remove Directory:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2704. #DIRED_MENU:LINK::Remove Symbolic Link:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  2705.  
  2706. # Following depends on OK_UUDECODE and !ARCHIVE_ONLY
  2707. #DIRED_MENU:FILE::UUDecode:(current selection):LYNXDIRED://UUDECODE%p
  2708.  
  2709. # Following depends on OK_TAR and !ARCHIVE_ONLY
  2710. #DIRED_MENU:FILE:.tar.Z:Expand:(current selection):LYNXDIRED://UNTAR_Z%p
  2711.  
  2712. # Following depend on OK_TAR and OK_GZIP and !ARCHIVE_ONLY
  2713. #DIRED_MENU:FILE:.tar.gz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  2714. #DIRED_MENU:FILE:.tgz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  2715.  
  2716. # Following depends on !ARCHIVE_ONLY
  2717. #DIRED_MENU:FILE:.Z:Uncompress:(current selection):LYNXDIRED://DECOMPRESS%p
  2718.  
  2719. # Following depends on OK_GZIP and !ARCHIVE_ONLY
  2720. #DIRED_MENU:FILE:.gz:Uncompress:(current selection):LYNXDIRED://UNGZIP%p
  2721.  
  2722. # Following depends on OK_ZIP and !ARCHIVE_ONLY
  2723. #DIRED_MENU:FILE:.zip:Uncompress:(current selection):LYNXDIRED://UNZIP%p
  2724.  
  2725. # Following depends on OK_TAR and !ARCHIVE_ONLY
  2726. #DIRED_MENU:FILE:.tar:UnTar:(current selection):LYNXDIRED://UNTAR%p
  2727.  
  2728. # Following depends on OK_TAR
  2729. #DIRED_MENU:DIR::Tar:(current selection):LYNXDIRED://TAR%p
  2730.  
  2731. # Following depends on OK_TAR and OK_GZIP
  2732. #DIRED_MENU:DIR::Tar and compress:(using GNU gzip):LYNXDIRED://TAR_GZ%p
  2733.  
  2734. # Following depends on OK_ZIP
  2735. #DIRED_MENU:DIR::Package and compress:(using zip):LYNXDIRED://ZIP%p
  2736.  
  2737. #DIRED_MENU:FILE::Compress:(using Unix compress):LYNXDIRED://COMPRESS%p
  2738.  
  2739. # Following depends on OK_GZIP
  2740. #DIRED_MENU:FILE::Compress:(using gzip):LYNXDIRED://GZIP%p
  2741.  
  2742. # Following depends on OK_ZIP
  2743. #DIRED_MENU:FILE::Compress:(using zip):LYNXDIRED://ZIP%p
  2744.  
  2745. #DIRED_MENU:TAG::Move all tagged items to another location.::LYNXDIRED://MOVE_TAGGED%d
  2746.  
  2747. # Following depends on OK_INSTALL
  2748. #DIRED_MENU:TAG::Install tagged files into another directory.::LYNXDIRED://INSTALL_SRC%00
  2749.  
  2750. #DIRED_MENU:TAG::Remove all tagged files and directories.::LYNXDIRED://REMOVE_TAGGED
  2751. #DIRED_MENU:TAG::Untag all tagged items.::LYNXDIRED://CLEAR_TAGGED
  2752.  
  2753.  
  2754. .h1 Internal Behavior
  2755.  
  2756. .h2 NONRESTARTING_SIGWINCH
  2757. # Some systems only:
  2758. #===================
  2759. # Lynx tries to detect window size changes with a signal handler for
  2760. # SIGWINCH if supported.  If NONRESTARTING_SIGWINCH is set to TRUE,
  2761. # and the sigaction interface is available on the system, the handler
  2762. # is installed as 'non-restarting'.  On some systems (depending on the
  2763. # library used for handling keyboard input, e.g. ncurses), this allows
  2764. # more immediate notification of window size change events.  If the value
  2765. # is set to FALSE, the signal() interface is used; this normally makes
  2766. # the handler 'restarting', with the effect that lynx can react to size
  2767. # changes only after some key is pressed.  The value can also be set to
  2768. # XWINDOWS; this is equivalent to TRUE when the user has the environment
  2769. # variable DISPLAY defined *at program start*, and equivalent to FALSE
  2770. # otherwise.  The non-restarting behavior can also be changed to TRUE
  2771. # or FALSE with the -nonrestarting_sigwinch switch, which overrides the
  2772. # value in this file.
  2773. #
  2774. # Note that Lynx never re-parses document text purely as a result of a
  2775. # window size change, so text lines may appear truncated after narrowing
  2776. # the window, until the document is reloaded with ^R or a similar key
  2777. # or until a different text is loaded.
  2778. #
  2779. # The default is FALSE since there is a possibility that non-restarting
  2780. # interrupts may be mis-interpreted as fatal input errors in some
  2781. # configurations (leading to an abrupt program exit), and since this
  2782. # option is useful mostly only for users running Lynx under xterm or a
  2783. # similar X terminal emulator.  On systems where the preconditions don't
  2784. # apply this option is ignored.
  2785. #
  2786. #NONRESTARTING_SIGWINCH:FALSE
  2787.  
  2788.  
  2789. .h2 NO_FORCED_CORE_DUMP
  2790. # Unix ONLY:
  2791. #===========
  2792. # If NO_FORCED_CORE_DUMP is set to TRUE, Lynx will not force
  2793. # core dumps via abort() calls on fatal errors or assert()
  2794. # calls to check potentially fatal errors.  The compilation
  2795. # default normally is FALSE, and can be changed here.  The
  2796. # compilation or configuration default can be toggled via
  2797. # the -core command line switch.
  2798. # Note that this setting cannot be used to prevent core dumps
  2799. # with certainty.  If this is important, means provided by the
  2800. # operating system or kernel should be used.
  2801. #
  2802. #NO_FORCED_CORE_DUMP:FALSE
  2803.  
  2804.  
  2805. .h1 Appearance
  2806.  
  2807. .h2 COLOR
  2808. # COLORS (only available if compiled with SVr4 curses or slang)
  2809. #
  2810. # The line must be of the form:
  2811. #
  2812. # COLOR:Integer:Foreground:Background
  2813. .nf
  2814. #
  2815. # The Integer value is interpreted as follows:
  2816. #   0 - normal                      - normal text
  2817. #   1 - bold                        - hyperlinks, see also BOLD_* options above
  2818. #   2 - reverse                     - statusline
  2819. #   3 - bold + reverse              (not used)
  2820. #   4 - underline                   - text emphasis (EM, I, B tags etc.)
  2821. #   5 - bold + underline            - hyperlinks within text emphasis
  2822. #   6 - reverse + underline         - currently selected hyperlink
  2823. #   7 - reverse + underline + bold  - WHEREIS search hits
  2824. #
  2825. # Each Foreground and Background value must be one of:
  2826. #   black         red            green         brown
  2827. #   blue          magenta        cyan          lightgray
  2828. #   gray          brightred      brightgreen   yellow
  2829. #   brightblue    brightmagenta  brightcyan    white
  2830. #
  2831. .fi
  2832. # or (if you have configured using --enable-default-colors with ncurses or
  2833. # slang), "default" may be used for foreground and background.
  2834. #
  2835. # Uncomment and change any of the compilation defaults.
  2836. #
  2837. #COLOR:0:black:white
  2838. #COLOR:1:blue:white
  2839. #COLOR:2:yellow:blue
  2840. #COLOR:3:green:white
  2841. #COLOR:4:magenta:white
  2842. #COLOR:5:blue:white
  2843. #COLOR:6:red:white
  2844. COLOR:6:brightred:black
  2845. #COLOR:7:magenta:cyan
  2846.  
  2847.  
  2848. .h2 ASSUMED_COLOR
  2849. # If built with a library that recognizes default colors, initializes it
  2850. # to assume the corresponding foreground and background colors.  Default
  2851. # colors are those that the terminal (emulator) itself is initialized to.
  2852. # For instance, you might have an xterm running with black text on a white
  2853. # background, and want lynx to display colored text on the white background,
  2854. # but leave the possibility of using the same configuration to draw colored
  2855. # text on a different xterm, this time using its background set to black.
  2856. #
  2857. # The first value given is the foreground, the second is the background.
  2858. #ASSUMED_COLOR:default:default
  2859.  
  2860.  
  2861. .h1 External Programs
  2862.  
  2863. .h2 EXTERNAL
  2864. # External application support.  This feature allows Lynx to pass a given
  2865. # URL to an external program.  It was written for three reasons.
  2866. #
  2867. # 1) To overcome the deficiency    of Lynx_386 not supporting ftp and news.
  2868. #    External programs can be used instead by passing the URL.
  2869. #
  2870. # 2) To allow for background    transfers in multitasking systems.
  2871. #    I use wget for http and ftp transfers via the external command.
  2872. #
  2873. # 3) To allow for new URLs to be used through Lynx.
  2874. #      URLs can be made up such as mymail: to spawn desired applications
  2875. #      via the external command.
  2876. #
  2877. # Restrictions can be imposed using -restrictions=externals at the Lynx command
  2878. # line.  This will disallow all EXTERNAL lines in lynx.cfg that have FALSE in
  2879. # the 3rd field (not counting the name of the setting).  TRUE lines will still
  2880. # function.
  2881. #
  2882. # The lynx.cfg line is as follows:
  2883. #
  2884. # EXTERNAL:<url>:<command> %s:<norestriction>:<allow_for_activate>
  2885. #
  2886. # <url> Any given URL.  This can be normal ones like ftp or http or it
  2887. # can be one made up like mymail.
  2888. #
  2889. # <command> The command to run with %s being the URL that will be passed.
  2890. # In Linux I use "wget -q %s &" (no quotes) to spawn a copy of wget for
  2891. # downloading http and ftp files in the background.  In Win95 I use
  2892. # "start ncftp %s" to spawn ncftp in a new window.
  2893. #
  2894. # <norestriction> This complements the -restrictions=externals feature to allow
  2895. # for certain externals to be enabled while restricting others.  TRUE means
  2896. # a command will still function while Lynx is restricted.  WB
  2897. #
  2898. # <allow_for_activate> Setting this to TRUE allows the use of this command not
  2899. # only when EXTERN key is pressed, but also when ACTIVATE command is invoked
  2900. # (i.e., activating the link with the given prefix will be equivalent to
  2901. # pressing EXTERN key on it).  If this component of the line is absent, then
  2902. # FALSE is assumed.
  2903. #
  2904. # For invoking the command use the EXTERN_LINK or EXTERN_PAGE key.  By default
  2905. # EXTERN_LINK is mapped to '.', and EXTERN_PAGE to ',' (if the feature is
  2906. # enabled), see the KEYMAP section above.
  2907. #
  2908. #EXTERNAL:ftp:wget %s &:TRUE
  2909.  
  2910.  
  2911. .h1 Internal Behavior
  2912.  
  2913. .h2 RULE
  2914. .h2 RULESFILE
  2915. # CERN-style rules, EXPERIMENTAL  -  URL-specific rules
  2916. #
  2917. # A CERN-style rules file can be given with RULESFILE.  Use the system's
  2918. # native format for filenames, on Unix '~' is also recognized.  If a filename
  2919. # is given, the file must exist.
  2920. #
  2921. # Single CERN-style rules can be specified with RULES.
  2922. #
  2923. # Both options can be repeated, rules accumulate in the order
  2924. # given, they will be applied in first-to-last order.  See cernrules.txt
  2925. # in the samples subdirectory for further explanation.
  2926. #
  2927. # Examples:
  2928. .ex 5
  2929. #    RULESFILE:/etc/lynx/cernrules
  2930. #    RULE:Fail    gopher:*             # reject by scheme
  2931. #    RULE:Pass    finger://*@localhost/         # allow this,
  2932. #    RULE:Fail    finger:*             # but not others
  2933. #    RULE:Redirect    http://old.server/*    http://new.server/*
  2934.  
  2935.  
  2936. .h1 Appearance
  2937.  
  2938. .h2 PRETTYSRC
  2939. # Enable pretty source view
  2940. #PRETTYSRC:FALSE
  2941.  
  2942. .h2 PRETTYSRC_SPEC
  2943. # Pretty source view settings. These settings are in effect when -prettysrc
  2944. # is specified.
  2945. # The following lexical elements (lexemes) are recognized:
  2946. # comment, tag, attribute, attribute value, generalized angle brackets (
  2947. # '<' '>' '</' ), entity, hyperlink destination, entire file, bad sequence,
  2948. # bad tag, bad attribute, sgml special.
  2949. #  The following group of option tells which styles will surround each
  2950. # lexeme. The syntax of option in this group is:
  2951. #PRETTYSRC_SPEC:<LEXEMENAME>:<TAGSPEC>:<TAGSPEC>
  2952. # The first <TAGSPEC> specifies what tags will precede lexemes of that class
  2953. # in the internal html markup. The second - what will be placed (internally)
  2954. # after it.
  2955. # TAGSPEC has the following syntax:
  2956. # <TAGSPEC>:= [ (<TAGOPEN> | <TAGCLOSE>) <SPACE>+ ]*
  2957. # <TAGOPEN>:= tagname[.classname]
  2958. # <TAGCLOSE>:= !tagname
  2959. #
  2960. # The following table gives correspondence between lexeme and lexeme name
  2961. .nf
  2962. # Lexeme                   LEXEMENAME  FURTHER EXPLANATION
  2963. # =========================================================
  2964. # comment                  COMM
  2965. # tag                      TAG         recognized tag name only
  2966. # attribute                ATTRIB
  2967. # attribute value          ATTRVAL
  2968. # generalized brackets     ABRACKET    <  >  </
  2969. # entity                   ENTITY
  2970. # hyperlink destination    HREF
  2971. # entire file              ENTIRE
  2972. # bad sequence             BADSEQ      bad entity or invalid construct at text
  2973. #                                      level.
  2974. # bad tag                  BADTAG      Unrecognized construct in generalized
  2975. #                                      brackets.
  2976. # bad attribute            BADATTR     The name of the attribute unknown to lynx
  2977. #                                      of the tag known to lynx. (i.e.,
  2978. #                                      attributes of unknown tags will have
  2979. #                                      markup of  ATTRIB)
  2980. # sgml special             SGMLSPECIAL doctype, sgmlelt, sgmlele,
  2981. #                                      sgmlattlist, marked section, identifier
  2982. .fi
  2983. #
  2984. # Notes:
  2985. #
  2986. # 1) The markup for HTML_ENTIRE will be emitted only once - it will surround
  2987. #    entire file source.
  2988. #
  2989. # 2) The tagnames specified by TAGSPEC should be valid html tag names.
  2990. #
  2991. # 3) If the tag/class combination given by TAGOPEN is not assigned a color
  2992. #    style in lss file (for lynx compiled with lss support), that tag/class
  2993. #    combination will be emitted anyway during internal html markup. Such
  2994. #    combinations will be also reported to the trace log.
  2995. #
  2996. # 4) Lexeme 'tag' means tag name only
  2997. #
  2998. # 5) Angle brackets of html specials won't be surrounded by markup for ABRACKET
  2999. #
  3000. .ex
  3001. # PRETTYSRC_SPEC:COMM:B I:!I !B
  3002. #           HTML comments will be surrounded by <b><i> and </i></b> in the
  3003. #           internal html markup
  3004. .ex
  3005. # PRETTYSRC_SPEC:ATTRVAL: span.attrval : !span
  3006. #           Values of the attributes will be surrounded by the
  3007. #           <SPAN class=attrval> </SPAN>
  3008. .ex
  3009. # PRETTYSRC_SPEC:HREF::
  3010. #           No special html markup will surround hyperlink destinations (
  3011. #           this means that only default color style for hrefs will be applied
  3012. #           to them)
  3013. #
  3014. # For lynx compiled with lss support, the following settings are the default:
  3015. #PRETTYSRC_SPEC:COMM:span.htmlsrc_comment:!span
  3016. #PRETTYSRC_SPEC:TAG:span.htmlsrc_tag:!span
  3017. #PRETTYSRC_SPEC:ATTRIB:span.htmlsrc_attrib:!span
  3018. #PRETTYSRC_SPEC:ATTRVAL:span.htmlsrc_attrval:!span
  3019. #PRETTYSRC_SPEC:ABRACKET:span.htmlsrc_abracket:!span
  3020. #PRETTYSRC_SPEC:ENTITY:span.htmlsrc_entity:!span
  3021. #PRETTYSRC_SPEC:HREF:span.htmlsrc_href:!span
  3022. #PRETTYSRC_SPEC:ENTIRE:span.htmlsrc_entire:!span
  3023. #PRETTYSRC_SPEC:BADSEQ:span.htmlsrc_badseq:!span
  3024. #PRETTYSRC_SPEC:BADTAG:span.htmlsrc_badtag:!span
  3025. #PRETTYSRC_SPEC:BADATTR:span.htmlsrc_badattr:!span
  3026. #PRETTYSRC_SPEC:SGMLSPECIAL:span.htmlsrc_sgmlspecial:!span
  3027. # the styles corresponding to them are present in sample .lss file.
  3028. # For lynx compiled without lss support, the following settings are the default:
  3029. #PRETTYSRC_SPEC:COMM:b:!b
  3030. #PRETTYSRC_SPEC:TAG:b:!b
  3031. #PRETTYSRC_SPEC:ATTRIB:b:!b
  3032. #PRETTYSRC_SPEC:ATTRVAL::
  3033. #PRETTYSRC_SPEC:ABRACKET:b:!b
  3034. #PRETTYSRC_SPEC:ENTITY:b:!b
  3035. #PRETTYSRC_SPEC:HREF::
  3036. #PRETTYSRC_SPEC:ENTIRE::
  3037. #PRETTYSRC_SPEC:BADSEQ:b:!b
  3038. #PRETTYSRC_SPEC:BADTAG::
  3039. #PRETTYSRC_SPEC:BADATTR::
  3040. #PRETTYSRC_SPEC:SGMLSPECIAL:b:!b
  3041.  
  3042.  
  3043. .h2 HTMLSRC_ATTRNAME_XFORM
  3044. .h2 HTMLSRC_TAGNAME_XFORM
  3045. # Options HTMLSRC_TAGNAME_XFORM and HTMLSRC_ATTRNAME_XFORM control the way the
  3046. # names of tags and names of attributes are transformed correspondingly.
  3047. # Possible values: 0 - lowercase, 1 - leave as is, 2 - uppercase.
  3048. #HTMLSRC_TAGNAME_XFORM:2
  3049. #HTMLSRC_ATTRNAME_XFORM:2
  3050.  
  3051.  
  3052. .h2 PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING
  3053. # PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING - pretty source view setting
  3054. # If "keypad mode" in 'O'ptions screen is "Links are numbered" or
  3055. # "Links and form fields are numbered", and PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING is
  3056. # TRUE, then links won't be numbered in psrc view and will be numbered
  3057. # otherwise. Set this setting to TRUE if you prefer numbered links, but wish
  3058. # to get valid HTML source when printing or mailing when in psrc view.
  3059. # Default is FALSE.
  3060. #PRETTYSRC_VIEW_NO_ANCHOR_NUMBERING:FALSE
  3061.  
  3062.  
  3063. .h1 HTML Parsing
  3064.  
  3065. .h2 FORCE_EMPTY_HREFLESS_A
  3066. # FORCE_EMPTY_HREFLESS_A - HTML parsing
  3067. # This option mirrors command-line option with the same name.  Default is
  3068. # FALSE.  If true, then any 'A' element without HREF will be closed
  3069. # immediately.  This is useful when viewing documentation produced by broken
  3070. # translator that doesn't emit balanced A elements.  If lynx was compiled with
  3071. # color styles, setting this option to TRUE will make lynx screen much more
  3072. # reasonable (otherwise all text will probably have color corresponding to the
  3073. # A element).
  3074. #
  3075. #FORCE_EMPTY_HREFLESS_A:FALSE
  3076.  
  3077. .h2 HIDDEN_LINK_MARKER
  3078. # HIDDEN_LINK_MARKER - HTML parsing
  3079. # This option defines the string that will be used as title of hidden link (a
  3080. # link that otherwise will have no label associated with it).  Using an empty
  3081. # string as the value will cause lynx to behave in the old way - hidden links
  3082. # will be handled according to other settings (mostly the parameter of
  3083. # --hiddenlinks command-line switch).  If the value is non-empty string, hidden
  3084. # link becomes non-hidden so it won't be handled as hidden link, e.g., listed
  3085. # among hidden links on 'l'isting page.
  3086. #
  3087. #HIDDEN_LINK_MARKER:
  3088.  
  3089. .h1 Appearance
  3090.  
  3091. .h2 JUSTIFY
  3092. # JUSTIFY - Appearance
  3093. # This option mirrors command-line option with same name.  Default is TRUE.  If
  3094. # true, most of text (except headers and like this) will be justified.  This
  3095. # has no influence on CJK text rendering.
  3096. #
  3097. # This option is only available if Lynx was compiled with EXP_JUSTIFY_ELTS.
  3098. #
  3099. #JUSTIFY:TRUE
  3100.  
  3101. .h2 JUSTIFY_MAX_VOID_PERCENT
  3102. # JUSTIFY_MAX_VOID_PERCENT - Appearance
  3103. # This option controls the maximum allowed value for ratio (in percents) of
  3104. # 'the number of spaces to spread across the line to justify it' to
  3105. # 'max line size for current style and nesting' when justification is allowed.
  3106. # When that ratio exceeds the value specified, that particular line won't be
  3107. # justified. I.e. the value 28 for this setting will mean maximum value for
  3108. # that ratio is 0.28.
  3109. #
  3110. #JUSTIFY_MAX_VOID_PERCENT:35
  3111.  
  3112.  
  3113. .h1 Interaction
  3114.  
  3115. .h2 TEXTFIELDS_NEED_ACTIVATION
  3116. # If TEXTFIELDS_NEED_ACTIVATION is set to TRUE, and lynx was compiled with
  3117. # TEXTFIELDS_MAY_NEED_ACTIVATION defined, then text input form fields need
  3118. # to be activated (by pressing the Enter key or similar) before the user
  3119. # can enter or modify input.  By default, input fields become automatically
  3120. # activated when selected.  Requiring explicit activation can be desired for
  3121. # users who use alphanumeric keys for navigation (or other keys that have
  3122. # special meaning in the line editor - ' ', 'b', INS, DEL, etc), and don't
  3123. # want to 'get stuck' in form fields.  Instead of setting the option here,
  3124. # explicit activation can also be requested with the -tna command line
  3125. # option.
  3126. #
  3127. #TEXTFIELDS_NEED_ACTIVATION:FALSE
  3128.  
  3129. .h2 LEFTARROW_IN_TEXTFIELD_PROMPT
  3130. # LEFTARROW_IN_TEXTFIELD_PROMPT
  3131. # This option controls what happens when a Left Arrow key is pressed while
  3132. # in the first position of an active text input field.  By default, Lynx
  3133. # asks for confirmation ("Do you want to go back to the previous document?")
  3134. # only if the contents of the fields have been changed since entering it.
  3135. # If set to TRUE, the confirmation prompt is always issued.
  3136. #
  3137. #LEFTARROW_IN_TEXTFIELD_PROMPT:FALSE
  3138.  
  3139.  
  3140. .h1 Timeouts
  3141.  
  3142. .h2 CONNECT_TIMEOUT
  3143. # Specifies (in seconds) connect timeout. Not available under DOS (use
  3144. # sockdelay parameter of wattcp). Default value is rather huge.
  3145. #CONNECT_TIMEOUT:18000
  3146.  
  3147.  
  3148. .h1 Internal Behavior
  3149. # These settings control internal lynx behavior - the way it interacts with the
  3150. # operating system and Internet.  Modifying these settings will not change
  3151. # the rendition of documents that you browse with lynx, but can change various
  3152. # delays and resource utilization.
  3153.  
  3154. .h2 FTP_PASSIVE
  3155. # Set FTP_PASSIVE to TRUE if you want to use passive mode ftp transfers.
  3156. # You might have to do this if you're behind a restrictive firewall.
  3157. #FTP_PASSIVE:FALSE
  3158.  
  3159. .h2 ENABLE_LYNXRC
  3160. # The forms-based O'ptions menu shows a (!) marker beside items which are not
  3161. # saved to ~/.lynxrc -- the reason for disabling some of these items is that
  3162. # they are likely to cause confusion if they are read from the .lynxrc file for
  3163. # each session.  However, they can be enabled or disabled using the
  3164. # ENABLE_LYNXRC settings.  The default (compiled-in) settings are shown below.
  3165. # The second column is the name by which a setting is saved to .lynxrc (which
  3166. # is chosen where possible to correspond with lynx.cfg).  Use "OFF" to disable
  3167. # writing a setting, "ON" to enable it.  Settings are read from .lynxrc after
  3168. # the corresponding data from lynx.cfg, so they override lynx.cfg, which is
  3169. # probably what users expect.
  3170. #
  3171. # Note that a few settings (Cookies and Show images) are comprised of more than
  3172. # one lynx.cfg setting.
  3173. .nf
  3174. #ENABLE_LYNXRC:DTD_recovery:OFF
  3175. #ENABLE_LYNXRC:accept_all_cookies:ON
  3176. #ENABLE_LYNXRC:assume_char_set:OFF
  3177. #ENABLE_LYNXRC:bookmark_file:ON
  3178. #ENABLE_LYNXRC:case_sensitive_searching:ON
  3179. #ENABLE_LYNXRC:character_set:ON
  3180. #ENABLE_LYNXRC:cookie_accept_domains:ON
  3181. #ENABLE_LYNXRC:cookie_file:ON
  3182. #ENABLE_LYNXRC:cookie_loose_invalid_domains:ON
  3183. #ENABLE_LYNXRC:cookie_query_invalid_domains:ON
  3184. #ENABLE_LYNXRC:cookie_reject_domains:ON
  3185. #ENABLE_LYNXRC:cookie_strict_invalid_domains:ON
  3186. #ENABLE_LYNXRC:dir_list_style:ON
  3187. #ENABLE_LYNXRC:display:OFF
  3188. #ENABLE_LYNXRC:emacs_keys:ON
  3189. #ENABLE_LYNXRC:file_editor:ON
  3190. #ENABLE_LYNXRC:file_sorting_method:ON
  3191. #ENABLE_LYNXRC:kblayout:ON
  3192. #ENABLE_LYNXRC:keypad_mode:ON
  3193. #ENABLE_LYNXRC:lineedit_mode:ON
  3194. #ENABLE_LYNXRC:make_pseudo_alts_for_inlines:OFF
  3195. #ENABLE_LYNXRC:make_links_for_all_images:OFF
  3196. #ENABLE_LYNXRC:multi_bookmark:ON
  3197. #ENABLE_LYNXRC:personal_mail_address:ON
  3198. #ENABLE_LYNXRC:preferred_charset:ON
  3199. #ENABLE_LYNXRC:preferred_language:ON
  3200. #ENABLE_LYNXRC:raw_mode:OFF
  3201. #ENABLE_LYNXRC:run_all_execution_links:ON
  3202. #ENABLE_LYNXRC:run_execution_links_on_local_files:ON
  3203. #ENABLE_LYNXRC:select_popups:ON
  3204. #ENABLE_LYNXRC:set_cookies:OFF
  3205. #ENABLE_LYNXRC:show_color:ON
  3206. #ENABLE_LYNXRC:show_cursor:ON
  3207. #ENABLE_LYNXRC:show_dotfiles:ON
  3208. #ENABLE_LYNXRC:show_rate:OFF
  3209. #ENABLE_LYNXRC:sub_bookmarks:ON
  3210. #ENABLE_LYNXRC:user_agent:OFF
  3211. #ENABLE_LYNXRC:user_mode:ON
  3212. #ENABLE_LYNXRC:verbose_images:ON
  3213. #ENABLE_LYNXRC:vi_keys:ON
  3214. #ENABLE_LYNXRC:visited_links:ON
  3215. .fi
  3216.